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.
 
Method Summary
 int getID()
           
 double getValue()
           
 void update(double value, int class_id)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

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

Method Detail

update

public void update(double value,
                   int class_id)

getValue

public double getValue()

getID

public int getID()


Stanford NLP Group