public class DefaultEvaluationWrapper extends AbstractEvaluationWrapper<weka.classifiers.Evaluation,DefaultEvaluationMetrics>
| Constructor and Description |
|---|
DefaultEvaluationWrapper(weka.classifiers.Evaluation eval,
DefaultEvaluationMetrics metrics)
Initializes the wrapper.
|
| Modifier and Type | Method and Description |
|---|---|
double |
getMetric(int id,
int classLabel)
Returns the metric for the given ID.
|
getMetric, getMetricspublic DefaultEvaluationWrapper(weka.classifiers.Evaluation eval,
DefaultEvaluationMetrics metrics)
eval - the evaluation to wrapmetrics - the metrics to usepublic double getMetric(int id,
int classLabel)
getMetric in class AbstractEvaluationWrapper<weka.classifiers.Evaluation,DefaultEvaluationMetrics>id - the id to get the metric forclassLabel - the class label index for which to return metric (if applicable)Copyright © 2017 University of Waikato, Hamilton, NZ. All Rights Reserved.