public interface InformationTheoreticEvaluationMetric
| 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 |
updateStatsForConditionalDensityEstimator(ConditionalDensityEstimator classifier,
Instance classMissing,
double classValue)
Updates stats for conditional density estimator based on current test
instance.
|
void |
updateStatsForPredictor(double predictedValue,
Instance instance)
Updates the statistics about a predictors 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 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 setvoid updateStatsForConditionalDensityEstimator(ConditionalDensityEstimator classifier, Instance classMissing, double classValue) throws java.lang.Exception
classifier - the conditional density estimatorclassMissing - the instance for which density is to be computed,
without a class valueclassValue - the class value of this instancejava.lang.Exception - if density could not be computed successfullyjava.lang.String toSummaryString()