public abstract class DataCoverage<DATA> extends Object implements IDataCoverage<DATA>
| Modifier and Type | Field and Description |
|---|---|
protected ADomainMethodType |
appDomainMethodType |
protected static Logger |
logger |
protected Object |
object |
protected double |
pThreshold |
protected double |
threshold |
| Constructor and Description |
|---|
DataCoverage() |
DataCoverage(ADomainMethodType mode) |
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
Object |
clone() |
ADomainMethodType |
getAppDomainMethodType() |
int |
getDomain(double coverage) |
int[] |
getDomain(double[] coverage) |
String |
getDomainName() |
String |
getId() |
String |
getMetricName() |
String |
getName() |
Object |
getPoints() |
double |
getPThreshold() |
boolean |
isEmpty() |
void |
setAppDomainMethodType(ADomainMethodType appDomainMethodType) |
void |
setDomainName(String domainName) |
void |
setMetricName(String metricName) |
void |
setMode(ADomainMethodType mode) |
void |
setParameters(Object points) |
void |
setPThreshold(double athreshold)
The percent of points in-domain from the training set [0 - 1]
percent - 1 means 100% , all points in |
String |
toString() |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitbuild, predictprotected static Logger logger
protected transient Object object
protected ADomainMethodType appDomainMethodType
protected double threshold
protected double pThreshold
public DataCoverage()
public DataCoverage(ADomainMethodType mode)
public String getDomainName()
getDomainName in interface IDataCoverage<DATA>public void setDomainName(String domainName)
public String getMetricName()
getMetricName in interface IDataCoverage<DATA>public void setMetricName(String metricName)
public String getId()
public boolean isEmpty()
isEmpty in interface IDataCoverage<DATA>public void setMode(ADomainMethodType mode)
setMode in interface IDataCoverage<DATA>mode - - as in ADomainMethodType
_modeRANGE = 0, _modeLEVERAGE = 1; modeEUCLIDEAN = 2,
_modeCITYBLOCK = 3, _modeMAHALANOBIS = 4, _modeDENSITY = 5;public void clear()
public double getPThreshold()
getPThreshold in interface IDataCoverage<DATA>public void setPThreshold(double athreshold)
IDataCoveragesetPThreshold in interface IDataCoverage<DATA>public int getDomain(double coverage)
getDomain in interface IDataCoverage<DATA>public int[] getDomain(double[] coverage)
getDomain in interface IDataCoverage<DATA>public String getName()
public ADomainMethodType getAppDomainMethodType()
getAppDomainMethodType in interface IDataCoverage<DATA>public void setAppDomainMethodType(ADomainMethodType appDomainMethodType)
setAppDomainMethodType in interface IDataCoverage<DATA>public Object clone() throws CloneNotSupportedException
clone in class ObjectCloneNotSupportedExceptionpublic Object getPoints()
public void setParameters(Object points) throws QSARModelException
QSARModelExceptionCopyright © 2004–2020 Ideaconsult Ltd.. All rights reserved.