edu.stanford.nlp.classify
Class Classification
java.lang.Object
|
+--edu.stanford.nlp.classify.Classification
- public class Classification
- extends Object
This class holds the classification assigned to a FeatureSet
Constructor Summary |
Classification()
my_id is the integer that identifies the class. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Classification
public Classification()
- my_id is the integer that identifies the class.
my_value is the strength of the belief that that
class is correct
update
public void update(double value,
int class_id)
getValue
public double getValue()
getID
public int getID()
Stanford NLP Group