org.jdmp.core.dataset
Class ClassificationDataSet
java.lang.Object
org.jdmp.core.AbstractCoreObject
org.jdmp.core.dataset.AbstractDataSet
org.jdmp.core.dataset.DefaultDataSet
org.jdmp.core.dataset.RegressionDataSet
org.jdmp.core.dataset.ClassificationDataSet
- All Implemented Interfaces:
- Serializable, Cloneable, CoreObject, DataSet, HasDataSetList, HasDataSets, HasSampleList, HasSamples, HasVariableMap, HasVariables, Clearable, HasDescription, HasGUIObject, HasLabel
public class ClassificationDataSet
- extends RegressionDataSet
- See Also:
- Serialized Form
| Methods inherited from class org.jdmp.core.dataset.RegressionDataSet |
appendRMSEMatrix, getEarlyStoppingIndex, getEarlyStoppingRMSE, getPredictedMatrix, getPredictedVariable, getRMSE, getRMSEMatrix, getRMSEVariable, getTargetMatrix, getTargetVariable, isEarlyStoppingReached |
| Methods inherited from class org.jdmp.core.dataset.AbstractDataSet |
clear, getAsString, getDataSets, getDescription, getGUIObject, getLabel, getMatrix, getSamples, getString, getVariables, notifyGUIObject, setDescription, setLabel, setMatrix, setObject, setSamples, setVariables, splitByCount, splitByPercent, splitForCV, toString |
ACCURACY
public static final String ACCURACY
- See Also:
- Constant Field Values
CONFUSION
public static final String CONFUSION
- See Also:
- Constant Field Values
ERRORCOUNT
public static final String ERRORCOUNT
- See Also:
- Constant Field Values
ClassificationDataSet
public ClassificationDataSet()
getClassDistribution
public Matrix getClassDistribution()
getEarlyStoppingErrorCount
public double getEarlyStoppingErrorCount(int numberOfSteps)
clone
public ClassificationDataSet clone()
- Specified by:
clone in interface DataSet- Overrides:
clone in class DefaultDataSet
getClassCount
public int getClassCount()
getConfusionVariable
public Variable getConfusionVariable()
getErrorCountVariable
public Variable getErrorCountVariable()
getErrorCount
public int getErrorCount()
throws MatrixException
- Throws:
MatrixException
getAccuracyVariable
public Variable getAccuracyVariable()
appendConfusionMatrix
public void appendConfusionMatrix(Matrix m)
appendAccuracyMatrix
public void appendAccuracyMatrix(Matrix m)
appendErrorCountMatrix
public void appendErrorCountMatrix(Matrix m)
getAccuracy
public double getAccuracy()
throws MatrixException
- Throws:
MatrixException
getMaxAccuracy
public double getMaxAccuracy()
throws MatrixException
- Throws:
MatrixException
splitByClass
public List<ClassificationDataSet> splitByClass()
splitForStratifiedCV
public List<ClassificationDataSet> splitForStratifiedCV(int numberOfCVSets,
int idOfCVSet,
long randomSeed)
getEarlyStoppingAccuracy
public double getEarlyStoppingAccuracy(int numberOfSteps)
bootstrap
public ClassificationDataSet bootstrap(int numberOfSamples)
Copyright © 2009. All Rights Reserved.