org.jdmp.core.sample
Class ClassificationSample

java.lang.Object
  extended by org.jdmp.core.AbstractCoreObject
      extended by org.jdmp.core.sample.AbstractSample
          extended by org.jdmp.core.sample.DefaultSample
              extended by 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

Field Summary
 
Fields inherited from class org.jdmp.core.AbstractCoreObject
ALL, COLUMN, logger, ROW, X, Y, Z
 
Fields inherited from interface org.jdmp.core.sample.Sample
COUNT, DESCRIPTION, DIFFERENCE, ID, INPUT, LABEL, PREDICTED, PROBABILITY, RMSE, SCORE, TARGET, WEIGHT
 
Constructor Summary
ClassificationSample()
           
 
Method Summary
 int getRecognizedClass()
           
 int getTargetClass()
           
 boolean isCorrect()
           
 
Methods inherited from class org.jdmp.core.sample.DefaultSample
clone, getVariables, setMatrix, setVariables
 
Methods inherited from class org.jdmp.core.sample.AbstractSample
clear, getAsString, getDescription, getGUIObject, getId, getLabel, getMatrix, notifyGUIObject, setDescription, setId, setLabel, setObject, toString
 
Methods inherited from class org.jdmp.core.AbstractCoreObject
showGUI
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.ujmp.core.interfaces.HasGUIObject
showGUI
 

Constructor Detail

ClassificationSample

public ClassificationSample()
Method Detail

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.