public interface StandardEvaluationMetric
| Modifier and Type | Method and Description |
|---|---|
java.lang.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.
|
java.lang.String toSummaryString()
void updateStatsForClassifier(double[] predictedDistribution,
Instance instance)
throws java.lang.Exception
predictedDistribution - the probabilities assigned to each classinstance - the instance to be classifiedjava.lang.Exception - if the class of the instance is not setvoid updateStatsForPredictor(double predictedValue,
Instance instance)
throws java.lang.Exception
predictedValue - the numeric value the classifier predictsinstance - the instance to be classifiedjava.lang.Exception - if the class of the instance is not set