COSINE SIMILARITY examples, formula and calculations

COSINE SIMILARITY examples, formula and calculations

COSINE SIMILARITY CALCULATOR

Note : You must enter at least 3 values for each file, otherwise it will show invalid error.

Enter multiple values for file 1 separated by comma
Enter multiple values for file 2 separated by comma
Result result comes here

Example of COSINE SIMILARITY calculations

concentration = 2,4,6
valence = 2,4,6,1
Formula = cos(file 1, file 2) = (file 1 .file 2) / ||file 1|| ||file 2||
file1.file2 =56
||file1||sqrt (56)= 6.92
||file2||sqrt (56)= 6.92
cos(fil1.file2)= 56/7.48.7.48 = 0.999