public abstract class MetricContext<T extends Output<T>> extends Object
Modifier | Constructor and Description |
---|---|
protected |
MetricContext(Model<T> model,
List<Prediction<T>> predictions) |
protected |
MetricContext(SequenceModel<T> model,
List<Prediction<T>> predictions) |
Modifier and Type | Method and Description |
---|---|
Model<T> |
getModel()
Gets the Model used by this context.
|
List<Prediction<T>> |
getPredictions()
Gets the predictions used by this context.
|
SequenceModel<T> |
getSequenceModel()
Gets the SequenceModel used by this context.
|
protected MetricContext(Model<T> model, List<Prediction<T>> predictions)
protected MetricContext(SequenceModel<T> model, List<Prediction<T>> predictions)
public Model<T> getModel()
public SequenceModel<T> getSequenceModel()
public List<Prediction<T>> getPredictions()
Copyright © 2015–2021 Oracle and/or its affiliates. All rights reserved.