You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
`dtype::DataType` (default: `$(default)`): the data type to use in the $(hashfn) internals. For performance reasons you should pick `dtype` to match the type of the data you're hashing."""
348
+
`dtype::Type` (default: `$(default)`): the data type to use in the $(hashfn) internals. For performance reasons you should pick `dtype` to match the type of the data you're hashing."""
`resize_pow2::Bool` (default: `$(default)`): affects the way in which the returned `$(hashfn)` resizes to hash inputs of different sizes. If you think you'll be hashing inputs of many different sizes, it's more efficient to set `resize_pow2 = true`."""
Copy file name to clipboardExpand all lines: src/hashes/minhash.jl
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -25,7 +25,7 @@ end
25
25
26
26
"""
27
27
MinHash(n_hashes::Integer = $(DEFAULT_N_HASHES);
28
-
dtype::DataType = Any,
28
+
dtype::Type = Any,
29
29
symbols::Union{Vector,Set} = Set())
30
30
31
31
Construct a locality-sensitive hash function for Jaccard similarity.
@@ -34,7 +34,7 @@ Construct a locality-sensitive hash function for Jaccard similarity.
34
34
- $(N_HASHES_DOCSTR())
35
35
36
36
# Keyword parameters
37
-
- `dtype::DataType` (default: `Any`): the type of symbols in the sets you're hashing. This is overriden by the data type contained in `symbols` when `symbols` is non-empty.
37
+
- `dtype::Type` (default: `Any`): the type of symbols in the sets you're hashing. This is overriden by the data type contained in `symbols` when `symbols` is non-empty.
38
38
- `symbols::Union{Vector,Set}`: a `Vector` or `Set` containing all of the possible elements ("symbols") of the sets that you will be hashing. If left empty, `MinHash` will instead expand its dictionary when it sees new symbols (at small additional computational expense).
0 commit comments