Closed Dhrumil07 closed 3 months ago
Merging #199 (b9c1ee6) into main (85b0aba) will decrease coverage by
0.26%
. Report is 1 commits behind head on main. The diff coverage is82.35%
.
For binary similar matrices having all diagonal elements as 1, the scaled_similarity_matrix()
function just prints a message "No scaling is taking effect" and returns the original matrix.
For other similarity matrices, it gives the scaled similarity matrix as the output.
@FanwangM can you please review the PR
@FanwangM thank you for the suggestions. I have made the required changes.
Adding the support of scaled similarity matrix in the similarity module by implementing the method.
Considering $S(i,j)$ denotes the similarity between $i^{th}$ sample and $j^{th}$ sample, formula used to calculate scaled similarity matrix is $S(i,j)={S(i,j)\over\sqrt{S(i,i)S(j,j)}}$
scaled_similarity_matrix()
Fixes #122