public interface StandardEvaluationMetric
Modifier and Type | Method and Description |
---|---|
String |
toSummaryString()
Return a formatted string (suitable for displaying in console or GUI
output) containing all the statistics that this metric computes.
|
void |
updateStatsForClassifier(double[] predictedDistribution,
Instance instance)
Updates the statistics about a classifiers performance for the current test
instance.
|
void |
updateStatsForPredictor(double predictedValue,
Instance instance)
Updates the statistics about a predictors performance for the current test
instance.
|
String toSummaryString()
void updateStatsForClassifier(double[] predictedDistribution, Instance instance) throws Exception
predictedDistribution
- the probabilities assigned to each classinstance
- the instance to be classifiedException
- if the class of the instance is not setvoid updateStatsForPredictor(double predictedValue, Instance instance) throws Exception
predictedValue
- the numeric value the classifier predictsinstance
- the instance to be classifiedException
- if the class of the instance is not setCopyright © 2018 University of Waikato, Hamilton, NZ. All Rights Reserved.