public class DataCoverageFingerprintsTanimoto extends DataCoverageFingerprints
consensusFingerprint, fingerPrintLength, fingerprintsCalculated, fpProfile
appDomainMethodType, logger, object, pThreshold, threshold
Constructor and Description |
---|
DataCoverageFingerprintsTanimoto() |
Modifier and Type | Method and Description |
---|---|
protected double |
estimateThresholdValues(double percent,
double[] values,
int npoints) |
void |
evaluate(List<BitSet> bitsets) |
String |
getDomainName() |
String |
getMetricName() |
String |
getName() |
double[] |
predict(List<BitSet> data) |
protected double |
tanimoto(BitSet bs1,
BitSet bs2)
Returns (1-Tanimoto distance) where
Tanimoto = ( bc / (b1.cardinality() + b2.cardinality() - bc)
bc = bs1.and(bs2).cardinality (the number of common bits set to 1)
(1- Tanimoto) is used to make it compatible with distances approach
(the larger the distance value, the more dissimilar the compounds
|
protected double[] |
tanimoto(List<BitSet> data) |
arrayToString, build, buildStart, clear, clearProfile, estimateConsensusFP, getDomain, getDomain, getFingerPrintLength, getFingerprintsCalculated, histToString, isEmpty, profileToHistogram, profileToString, setFingerPrintLength
clone, getAppDomainMethodType, getId, getPoints, getPThreshold, setAppDomainMethodType, setDomainName, setMetricName, setMode, setParameters, setPThreshold, toString
public void evaluate(List<BitSet> bitsets)
evaluate
in class DataCoverageFingerprints
protected double tanimoto(BitSet bs1, BitSet bs2)
bs1
- fingerprint 1bs2
- fingerprint 2protected double estimateThresholdValues(double percent, double[] values, int npoints)
public String getName()
getName
in class DataCoverageFingerprints
public String getDomainName()
getDomainName
in interface IDataCoverage<List<BitSet>>
getDomainName
in class DataCoverage<List<BitSet>>
public String getMetricName()
getMetricName
in interface IDataCoverage<List<BitSet>>
getMetricName
in class DataCoverage<List<BitSet>>
Copyright © 2004–2020 Ideaconsult Ltd.. All rights reserved.