The 2024 Developer Survey results are live! See the results

# Tag Info

1 vote

### Why minhash algorithm use random permutation not random selection?

If I understand your question correctly, then it is because of the order-preserving property of the function. Permutation is for measuring the importance of each element in the set. In overly simplest ...
1 vote

### Distance Metric between 2 lists of sets

Update For pairwise comparison calculate each Jaccard distance and take the norm. ...
• 705
1 vote

### Cluster Evaluation with Jaccard and Rand Index

Rand index (also consider the adjusted rand index) measures exactly that, the similarity between two clusterings of the data. In python you can use sklearn for that, have a look at their Clustering ...
• 190
1 vote
Accepted

### What is the correct formula for Jaccard coefficient with integer vectors?

The Jaccard coefficient (or Jaccard similarity) is defined on two sets $A$ and $B$: $$J(A,B) = {{|A \cap B|}\over{|A \cup B|}} = {{|A \cap B|}\over{|A| + |B| - |A \cap B|}}$$ There is a single ...
• 25.6k
1 vote
Accepted

### Jaccard similarity calculate similarity

Note the instruction is to view the utility matrix as boolean. That is if it is positive, then view it as $1$ and $0$ otherwise. Example, to compute the Jaccard similairty between $a$ and $b$. ...
• 3,118
1 vote
Accepted

### Jaccard Similarity with Binary Data

The DBSCAN clustering algorithm has a built-in Jaccard distance metric. ...
• 3,930
1 vote

### When I would use a specific similarity coefficient over another?

Jaccard - measures similarity of assymetric, binary attributes. For example, if you have insurance claims with binary attributes ("poor driving record", "premium paid in cash") you can compare claims ...
• 692
1 vote

### Similarity of search results using Jaccard

I realised if I used the format X = np.array([[5,4,2,3,1,0,0,0,0],[4,0,0,0,0,5,3,2,1]]) and a sparse matrix from the scipy module, I could use efficient matrix ...
• 11
1 vote
Accepted

### Jaccard similarity between two items

In any commerce setting, the concept of item similarity is very not straightforward. Two users usually buying same kinds of products can be considered as similar, but we cannot say the same about two ...
• 405

Only top scored, non community-wiki answers of a minimum length are eligible