edu.umass.cs.mallet.base.types
Class Labels

java.lang.Object
  extended byedu.umass.cs.mallet.base.types.Labels
All Implemented Interfaces:
java.io.Serializable

public class Labels
extends java.lang.Object
implements java.io.Serializable

Usually some distribution over possible labels for an instance.

See Also:
Serialized Form

Constructor Summary
Labels(Label[] labels)
           
 
Method Summary
 Label get(int i)
           
 int size()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Labels

public Labels(Label[] labels)
Method Detail

size

public int size()

get

public Label get(int i)

toString

public java.lang.String toString()