T
- The output type.E
- The evaluation type.public interface SequenceEvaluator<T extends Output<T>,E extends SequenceEvaluation<T>>
SequenceEvaluation
s of a given SequenceDataset
using the given SequenceModel
.Modifier and Type | Method and Description |
---|---|
E |
evaluate(SequenceModel<T> model,
List<List<Prediction<T>>> predictions,
DataProvenance dataProvenance)
Evaluates the supplied model and predictions by aggregating the appropriate statistics.
|
E |
evaluate(SequenceModel<T> model,
SequenceDataset<T> dataset)
Evaluates the dataset using the supplied model, returning an immutable evaluation.
|
E |
evaluate(SequenceModel<T> model,
SequenceDataSource<T> datasource)
Evaluates the datasource using the supplied model, returning an immutable evaluation.
|
E evaluate(SequenceModel<T> model, SequenceDataset<T> dataset)
model
- The model to use.dataset
- The dataset to evaluate.E evaluate(SequenceModel<T> model, SequenceDataSource<T> datasource)
model
- The model to use.datasource
- The datasource to evaluate.E evaluate(SequenceModel<T> model, List<List<Prediction<T>>> predictions, DataProvenance dataProvenance)
Warning, this method cannot validate that the predictions were returned by the model in question.
model
- The model to use.predictions
- The predictions to use.dataProvenance
- The provenance of the test data.Copyright © 2015–2021 Oracle and/or its affiliates. All rights reserved.