public static class OutputTopNMetric.Factory extends MetricFactory<OutputTopNMetric.Context>
| Constructor and Description |
|---|
Factory(File f,
int size,
ItemSelector cand,
ItemSelector excl) |
| Modifier and Type | Method and Description |
|---|---|
OutputTopNMetric |
createMetric(TrainTestEvalTask task) |
List<String> |
getColumnLabels() |
List<String> |
getUserColumnLabels() |
forMetric, forMetricClasspublic Factory(File f, int size, ItemSelector cand, ItemSelector excl)
public OutputTopNMetric createMetric(TrainTestEvalTask task) throws IOException
createMetric in class MetricFactory<OutputTopNMetric.Context>IOExceptionpublic List<String> getColumnLabels()
getColumnLabels in class MetricFactory<OutputTopNMetric.Context>public List<String> getUserColumnLabels()
getUserColumnLabels in class MetricFactory<OutputTopNMetric.Context>