public static final class LabelMetric.Context extends MetricContext<Label>
LabelMetric
is a ConfusionMatrix
.Constructor and Description |
---|
Context(Model<Label> model,
List<Prediction<Label>> predictions) |
Context(SequenceModel<Label> model,
List<Prediction<Label>> predictions) |
Modifier and Type | Method and Description |
---|---|
ConfusionMatrix<Label> |
getCM() |
getModel, getPredictions, getSequenceModel
public Context(Model<Label> model, List<Prediction<Label>> predictions)
public Context(SequenceModel<Label> model, List<Prediction<Label>> predictions)
public ConfusionMatrix<Label> getCM()
Copyright © 2015–2021 Oracle and/or its affiliates. All rights reserved.