Assignment 12 - JACCARD
Assignment 12 - JACCARD
Assignment
Similarity between binary data, Simple matching
coefficient, Jaccard coefficient
1 Find the Similarity between binary data, Simple matching coefficient, Jaccard
coefficient. a={01101}, b={11100}
Ref. https://www.youtube.com/watch?v=_q2Z1D7ODgo
6:2 Find the Similarity between binary data, Simple matching coefficient, Jaccard
1 coefficient.
2
1 0
1 40 18
0 22 20
Ref. https://www.youtube.com/watch?v=mkjgaE0iJnE
https://www.youtube.com/watch?v=EJF97ihu7Ms
3 Find the Similarity between binary data, Simple matching coefficient, Jaccard
coefficient.
https://www.youtube.com/watch?v=NC376GIUMcI
4 Find the Similarity between binary data, Simple matching coefficient, and Jaccard
coefficient.
Ref. https://www.youtube.com/watch?v=AY8kLwDQ-0I
Optional:
1 Find the Similarity between binary data, Simple matching coefficient, and Jaccard
coefficient.
2 Find the Similarity between binary data, Simple matching coefficient, and Jaccard
coefficient.
We have 3 objects (table 2.1) of e-coli (bactria) with 16 attributes. Define the similarity on
the basis of Simple matching coefficient. Using agglomerative hierarchical clustering, draw a
dendrogram for the given data points.
ATT- ATT- ATT- ATT- ATT- ATT- ATT- ATT- ATT- ATT- ATT- ATT- ATT- ATT- ATT- ATT-
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
ecoli
0 1 1 1 0 0 0 1 0 0 0 0 0 0 1 1
1
ecoli
0 1 0 1 1 0 0 1 0 0 0 0 0 0 1 0
2
ecoli
1 1 0 1 1 0 0 1 0 0 0 0 0 0 1 1
3
Table 2.1
3 Find the Similarity between binary data, Simple matching coefficient, and Jaccard
coefficient.
4 Find the Similarity between binary data, Simple matching coefficient, and Jaccard
coefficient. The table shows the data of 7 customers who brought meals from Super
Market.
5
6 Find the Similarity between binary data, Simple matching coefficient, and Jaccard
coefficient.
Set A = { 5, 10, 15, 20, 25, 30, 35,40, 45, 50} and
Set B = {10, 20, 30, 40, 50, 60, 70, 80, 90, 100)
Ref. https://www.geeksforgeeks.org/how-to-calculate-jaccard-similarity-in-r/
A = (1, 0, 1, 1, 0)
B = (1, 1, 0, 1, 0)
C = (0, 0, 1, 1, 0)
D = (0, 1, 0, 1, 0)
E = (1, 0, 1, 0, 1)
F = (0, 1, 1, 0, 0).
Ref. https://ketandmdw.blogspot.com/
a) Jaccard’s Coefficient.
b) Rao’s Coefficient.
Ref.
https://www.learndatasci.com/glossary/cosine-similarity/
https://www.ques10.com/p/42214/find-jaccard-distance-12
34-2357-and-aaab-aabbc-1/
https://medium.com/@eskandar.sahel/exploring-common-
distance-measures-for-machine-learning-and-data-scienc
e-a-comparative-analysis-ea0216c93ba3
ONLINE CALCULATE
https://www.vcalc.com/equation/?uuid=3d3bd964-3e6e-11
ec-993a-bc764e203090
https://planetcalc.com/1664/