org.openscience.cdk.similarity
Class LingoSimilarity
java.lang.Object
org.openscience.cdk.similarity.LingoSimilarity
@TestClass(value="org.openscience.cdk.similarity.LingoTest")
public class LingoSimilarity
- extends Object
A class to evaluate the similarity between two LINGO's as described in [Vidal, D. and Thormann, M. and Pons, M., LINGO, an Efficient Holographic Text Based Method To Calculate Biophysical Properties and Intermolecular Similarities, J. Chem. Inf. Model., 2005, 45:386-393].
The similarity calculation is a variant of the Tanimoto coefficient and hence its
value ranges from 0 to 1
- Author:
- Rajarshi Guha
- Keywords:
- lingo, similarity, tanimoto
- Belongs to CDK module:
- fingerprint
- Source code:
- cdk-1.4.x
calculate
@TestMethod(value="testLingoSim")
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: