-
Notifications
You must be signed in to change notification settings - Fork 930
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add new nvtext tokenized minhash API (#17944)
Creates a new minhash API that works on ngrams of row elements given a list column of strings. ``` std::unique_ptr<cudf::column> minhash_ngrams( cudf::lists_column_view const& input, cudf::size_type ngrams, uint32_t seed, cudf::device_span<uint32_t const> parameter_a, cudf::device_span<uint32_t const> parameter_b, rmm::cuda_stream_view stream, rmm::device_async_resource_ref mr); ``` The input column is expected to be rows of words (strings) and each row is hashed using a sliding window of words (ngrams) and then the permuted algorithm is re-used to produce the minhash values. Authors: - David Wendt (https://github.com/davidwendt) Approvers: - Ayush Dattagupta (https://github.com/ayushdg) - Matthew Murray (https://github.com/Matt711) - Yunsong Wang (https://github.com/PointKernel) - Muhammad Haseeb (https://github.com/mhaseeb123) - Shruti Shivakumar (https://github.com/shrshi) URL: #17944
- Loading branch information
1 parent
08ea13a
commit 4fda491
Showing
10 changed files
with
911 additions
and
92 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.