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, forMetricClass
public Factory(File f, int size, ItemSelector cand, ItemSelector excl)
public OutputTopNMetric createMetric(TrainTestEvalTask task) throws IOException
createMetric
in class MetricFactory<OutputTopNMetric.Context>
IOException
public List<String> getColumnLabels()
getColumnLabels
in class MetricFactory<OutputTopNMetric.Context>
public List<String> getUserColumnLabels()
getUserColumnLabels
in class MetricFactory<OutputTopNMetric.Context>