Class LingoSimilarity

java.lang.Object
org.openscience.cdk.similarity.LingoSimilarity

public class LingoSimilarity extends Object
A class to evaluate the similarity between two LINGO's as described in [Vidal, D. et. al.. J. Chem. Inf. Model.. 2005. 45]. The similarity calculation is a variant of the Tanimoto coefficient and hence its value ranges from 0 to 1
Author:
Rajarshi Guha
Source code:
main
Belongs to CDK module:
fingerprint
Keywords:
lingo, similarity, tanimoto
  • Method Details

    • calculate

      public static float calculate(Map<String,Integer> features1, Map<String,Integer> features2)
      Evaluate the LINGO similarity between two key,value sty;e fingerprints. The value will range from 0.0 to 1.0.
      Parameters:
      features1 -
      features2 -
      Returns:
      similarity