public interface InformationRetrievalEvaluationMetric
| Modifier and Type | Method and Description |
|---|---|
double |
getClassWeightedAverageStatistic(java.lang.String statName)
Get the weighted (by class) average for this statistic.
|
double |
getStatistic(java.lang.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 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 setdouble getStatistic(java.lang.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(java.lang.String statName)
statName - the name of the statistic to compute