public class DataCoverageDescriptors extends DataCoverage<Jama.Matrix>
Modifier and Type | Field and Description |
---|---|
protected boolean |
boxcox |
protected DatasetCenterPoint |
datasetCenterPoint |
protected double[] |
maxdata |
protected double[] |
mindata |
protected boolean |
pca |
protected OrthogonalTransform |
pcaTransform |
protected boolean |
scale |
appDomainMethodType, logger, object, pThreshold, threshold
Constructor and Description |
---|
DataCoverageDescriptors()
DataCoverage constructor
Default mode modeRANGE
|
DataCoverageDescriptors(ADomainMethodType mode)
DataCoverage constructor
|
Modifier and Type | Method and Description |
---|---|
double[] |
assess(Jama.Matrix matrix) |
double |
assessTransformed(double[] points,
int nd)
does not perform transformation (e.g.
|
boolean |
build(Jama.Matrix data) |
void |
clear() |
protected double |
doAssessment(double[] points,
int nd) |
protected double[] |
doAssessment(Jama.Matrix points,
int np,
int nd)
does the actual assessment, to be overrided by inherited class
|
protected void |
doEstimation(Jama.Matrix points,
int np,
int nd)
does the actual estimation, to be overrided by inherited class
|
boolean |
estimate(Jama.Matrix m) |
protected double |
estimateThreshold(double percent,
double[] values) |
DatasetCenterPoint |
getDatasetCenterPoint() |
double[] |
getMaxdata() |
double[] |
getMindata() |
String |
getName() |
Jama.Matrix |
inverseTransform(Jama.Matrix points)
perform an inverse transformation of points
the result is stored in the second argument |
boolean |
isBoxcox() |
boolean |
isEmpty() |
boolean |
isPca() |
boolean |
isScale() |
double[] |
predict(Jama.Matrix data) |
void |
setBoxcox(boolean boxcox) |
void |
setCmode(DatasetCenterPoint cmode) |
void |
setDatasetCenterPoint(DatasetCenterPoint datasetCenterPoint) |
void |
setPca(boolean pca) |
void |
setScale(boolean scale) |
String |
toString() |
clone, getAppDomainMethodType, getDomain, getDomain, getDomainName, getId, getMetricName, getPoints, getPThreshold, setAppDomainMethodType, setDomainName, setMetricName, setMode, setParameters, setPThreshold
protected DatasetCenterPoint datasetCenterPoint
protected boolean scale
protected boolean pca
protected boolean boxcox
protected double[] mindata
protected double[] maxdata
protected OrthogonalTransform pcaTransform
public DataCoverageDescriptors()
public DataCoverageDescriptors(ADomainMethodType mode)
mode
- - ADomainMethodType
_modeRANGE = 0, _modeLEVERAGE = 1; modeEUCLIDEAN = 2,
_modeCITYBLOCK = 3, _modeMAHALANOBIS = 4, _modeDENSITY = 5;public void clear()
clear
in class DataCoverage<Jama.Matrix>
public boolean isEmpty()
isEmpty
in interface IDataCoverage<Jama.Matrix>
isEmpty
in class DataCoverage<Jama.Matrix>
public boolean isBoxcox()
public void setBoxcox(boolean boxcox)
boxcox
- The boxcox to set.public boolean isPca()
public void setPca(boolean pca)
pca
- The pca to set.public boolean isScale()
public void setScale(boolean scale)
scale
- The scale to set.public Jama.Matrix inverseTransform(Jama.Matrix points) throws Exception
points
- The points to be transformed by the inverse transformException
public String toString()
toString
in class DataCoverage<Jama.Matrix>
public String getName()
getName
in class DataCoverage<Jama.Matrix>
public void setCmode(DatasetCenterPoint cmode)
cmode
- - as in DatasetCenterPoint
_cmodeCenter = 1;_cmodeMean = 0;_cmodeOrigin = 2;protected double estimateThreshold(double percent, double[] values)
public DatasetCenterPoint getDatasetCenterPoint()
public void setDatasetCenterPoint(DatasetCenterPoint datasetCenterPoint)
public double[] getMaxdata()
public double[] getMindata()
public double[] predict(Jama.Matrix data)
public boolean build(Jama.Matrix data)
protected double[] doAssessment(Jama.Matrix points, int np, int nd)
points
- np
- nd
- public double[] assess(Jama.Matrix matrix)
points
- protected void doEstimation(Jama.Matrix points, int np, int nd)
points
- np
- nd
- public boolean estimate(Jama.Matrix m)
public double assessTransformed(double[] points, int nd)
points
- nd
- protected double doAssessment(double[] points, int nd)
points
- nd
- Copyright © 2004–2020 Ideaconsult Ltd.. All rights reserved.