org.jdmp.core.sample
Class ClassificationSample
java.lang.Object
org.jdmp.core.AbstractCoreObject
org.jdmp.core.sample.AbstractSample
org.jdmp.core.sample.DefaultSample
org.jdmp.core.sample.ClassificationSample
- All Implemented Interfaces:
- Serializable, Cloneable, CoreObject, Sample, HasVariableMap, HasVariables, Clearable, HasDescription, HasGUIObject, HasId, HasLabel
public class ClassificationSample
- extends DefaultSample
- See Also:
- Serialized Form
| Fields inherited from interface org.jdmp.core.sample.Sample |
COUNT, DESCRIPTION, DIFFERENCE, ID, INPUT, LABEL, PREDICTED, PROBABILITY, RMSE, SCORE, TARGET, WEIGHT |
| Methods inherited from class org.jdmp.core.sample.AbstractSample |
clear, getAsString, getDescription, getGUIObject, getId, getLabel, getMatrix, notifyGUIObject, setDescription, setId, setLabel, setObject, toString |
ClassificationSample
public ClassificationSample()
isCorrect
public boolean isCorrect()
throws MatrixException
- Throws:
MatrixException
getTargetClass
public int getTargetClass()
throws MatrixException
- Throws:
MatrixException
getRecognizedClass
public int getRecognizedClass()
throws MatrixException
- Throws:
MatrixException
Copyright © 2009. All Rights Reserved.