T - the type of evaluation to wrapM - the associated metricspublic abstract class AbstractEvaluationWrapper<T,M extends AbstractEvaluationMetrics> extends Object implements Serializable
| Constructor and Description |
|---|
AbstractEvaluationWrapper(T eval,
M metrics)
Initializes the wrapper.
|
| Modifier and Type | Method and Description |
|---|---|
abstract double |
getMetric(int id,
int classLabel)
Returns the metric for the given ID.
|
double |
getMetric(weka.core.Tag tag,
int classLabel)
Returns the metric for the given tag.
|
M |
getMetrics()
Returns the metrics.
|
public M getMetrics()
public double getMetric(weka.core.Tag tag,
int classLabel)
tag - the tag to get the metric forclassLabel - the class label index for which to return metric (if applicable)public abstract double getMetric(int id,
int classLabel)
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.