public interface InformationRetrievalEvaluationMetric
| Modifier and Type | Method and Description |
|---|---|
double |
getClassWeightedAverageStatistic(String statName)
Get the weighted (by class) average for this statistic.
|
double |
getStatistic(String statName,
int classIndex)
Get the value of the named statistic for the given class index.
|
void |
updateStatsForClassifier(double[] predictedDistribution,
Instance instance)
Updates the statistics about a classifiers performance for the current test
instance.
|
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 setdouble getStatistic(String statName, int classIndex)
statName - the name of the statistic to compute the value forclassIndex - the class index for which to compute the statisticdouble getClassWeightedAverageStatistic(String statName)
statName - the name of the statistic to computeCopyright © 2013 University of Waikato, Hamilton, NZ. All Rights Reserved.