public class DataCoverageLeverage extends DataCoverage<Jama.Matrix>
Modifier and Type | Field and Description |
---|---|
protected NumberFormat |
format |
protected Jama.Matrix |
hat |
protected static String |
protocol |
protected Jama.Matrix |
X |
protected Jama.Matrix |
XTX1 |
appDomainMethodType, logger, object, pThreshold, threshold
Constructor and Description |
---|
DataCoverageLeverage() |
Modifier and Type | Method and Description |
---|---|
boolean |
build(Jama.Matrix data) |
int |
getDomain(double coverage) |
int[] |
getDomain(double[] coverage) |
double[] |
predict(Jama.Matrix data) |
protected Jama.Matrix |
readMatrix(ObjectInputStream stream) |
protected void |
writeMatrix(Jama.Matrix matrix,
ObjectOutputStream stream) |
clear, clone, getAppDomainMethodType, getDomainName, getId, getMetricName, getName, getPoints, getPThreshold, isEmpty, setAppDomainMethodType, setDomainName, setMetricName, setMode, setParameters, setPThreshold, toString
protected transient Jama.Matrix hat
protected transient Jama.Matrix XTX1
protected transient NumberFormat format
protected Jama.Matrix X
protected static final String protocol
public boolean build(Jama.Matrix data)
public double[] predict(Jama.Matrix data)
public int getDomain(double coverage)
getDomain
in interface IDataCoverage<Jama.Matrix>
getDomain
in class DataCoverage<Jama.Matrix>
public int[] getDomain(double[] coverage)
getDomain
in interface IDataCoverage<Jama.Matrix>
getDomain
in class DataCoverage<Jama.Matrix>
protected void writeMatrix(Jama.Matrix matrix, ObjectOutputStream stream) throws IOException
IOException
protected Jama.Matrix readMatrix(ObjectInputStream stream) throws IOException
IOException
Copyright © 2004–2020 Ideaconsult Ltd.. All rights reserved.