public class Prediction extends 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(Class<T> recordMetaDataClass)
Convenience method for getting the record meta data as a particular class (as an alternative to casting it manually).
|
String |
toString() |
public <T> T getRecordMetaData(Class<T> recordMetaDataClass)
T
- Type to returnrecordMetaDataClass
- Class of the record metadataCopyright © 2017. All rights reserved.