Skip to main content

tanimoto_similarity

Function tanimoto_similarity 

Source
pub fn tanimoto_similarity(fp_a: &[u64], fp_b: &[u64]) -> f32
Expand description

Tanimoto (Jaccard) coefficient between two Morgan fingerprints encoded as u64 bitmasks. Multiple words can represent a full extended fingerprint.