public class Prediction
extends java.lang.Object
Evaluation
class.
Holds predicted and actual classes, along with an object for the example/record that produced this evaluation.Constructor and Description |
---|
Prediction() |
Modifier and Type | Method and Description |
---|---|
<T> T |
getRecordMetaData(java.lang.Class<T> recordMetaDataClass)
Convenience method for getting the record meta data as a particular class (as an alternative to casting it manually).
|
java.lang.String |
toString() |
public java.lang.String toString()
toString
in class java.lang.Object
public <T> T getRecordMetaData(java.lang.Class<T> recordMetaDataClass)
T
- Type to returnrecordMetaDataClass
- Class of the record metadata