|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.aliasi.classify.Classified<E>
E - the type of object classifiedpublic class Classified<E>
A Classified represents an object that has been classified
with a first-best classification. Classified objects are used for
training classifiers.
| Constructor Summary | |
|---|---|
Classified(E object,
Classification c)
Construct a classified object consisting of the specified object and classification. |
|
| Method Summary | |
|---|---|
Classification |
getClassification()
Return the classification of the object. |
E |
getObject()
Return the object that is classified. |
String |
toString()
Returns a string-based representation of the classified object and best category. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Classified(E object,
Classification c)
object - Object being classified.c - Classification of object.| Method Detail |
|---|
public E getObject()
public Classification getClassification()
public String toString()
toString in class Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||