Ask Your Question
4

What is the relation between minH and LSH in Python?

asked 2023-06-28 06:54:33 +0000

ladyg gravatar image

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
3

answered 2023-06-28 07:16:02 +0000

qstack gravatar image

minH and LSH are both algorithms used in similarity search in Python, but they are not directly related.

minH, or minwise hashing, is a locality-sensitive hashing technique used to quickly estimate the Jaccard similarity between two sets. It involves creating a hash function that maps elements of a set to a set of integers, and then selecting the minimum integer value as the hash signature for that set. Sets with similar contents will produce similar hash signatures, which allows for efficient similarity search.

LSH, or locality-sensitive hashing, is a general technique used to perform approximate nearest neighbor search in high-dimensional spaces. It involves mapping data points to hash signatures such that similar points are likely to have similar signatures. This allows for efficient similarity search even in high-dimensional spaces where exact computation of distances can be computationally expensive.

Though both techniques involve hashing, they are used in different contexts and for different purposes. However, it is possible to use minH as a component of an LSH algorithm to improve its performance on data sets with specific properties.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss

Add Answer


Question Tools

Stats

Asked: 2023-06-28 06:54:33 +0000

Seen: 9 times

Last updated: Jun 28 '23