struct.types
Interface SLLabel

All Known Implementing Classes:
ClassificationLabel, SequenceLabel

public interface SLLabel

A generic label.

Version:
08/15/2006

Method Summary
 SLFeatureVector getFeatureVectorRepresentation()
          Returns the feature-vector representation of this label.
 double loss(SLLabel pred)
          Evaluates a prediction against this label.
 

Method Detail

getFeatureVectorRepresentation

SLFeatureVector getFeatureVectorRepresentation()
Returns the feature-vector representation of this label.


loss

double loss(SLLabel pred)
Evaluates a prediction against this label.



Copyright (C) 2006 University of Pennsylvania.