-
Notifications
You must be signed in to change notification settings - Fork 19
Open
Description
Hi,
Using two similarity functions to compute similarity scores between spectra of two files:
- Spec2vec: scores = calculate_scores(ref_spectrums, query_spectrums, spec2vec_similarity)
- CosineGreedy: scores = calculate_scores(references=spectrums1, queries=spectrums2, similarity_function=CosineGreedy())
However, I've got nan scores for spec2vec that I think it's because of low similarity between pairs of spectra.
for example: the results of similarity functions between two spectra - spec2vec
Reference scan id: F1:2478
Query scan id: 3350
Score: [nan]
- CosineGreedy
Reference scan id: F1:2478
Query scan id: 3850
Score: [0.004275957907034389, 4]
I tried to change the allowed missing percentage from 5 to higher value but it didn't work.
Could you please tell me how I can get a score rather than nan by applying spec2vec similarity function?
Thanks!
Metadata
Metadata
Assignees
Labels
No labels