Package org.tribuo.sequence
Interface SequenceEvaluation<T extends Output<T>>
- Type Parameters:
T
- The output type.
- All Superinterfaces:
com.oracle.labs.mlrg.olcut.provenance.Provenancable<EvaluationProvenance>
- All Known Implementing Classes:
LabelSequenceEvaluation
public interface SequenceEvaluation<T extends Output<T>>
extends com.oracle.labs.mlrg.olcut.provenance.Provenancable<EvaluationProvenance>
An immutable evaluation of a specific sequence model and dataset.
-
Method Summary
Methods inherited from interface com.oracle.labs.mlrg.olcut.provenance.Provenancable
getProvenance
-
Method Details
-
asMap
Get a map of all the metrics stored in this evaluation. The keys are metric id's and the values are their corresponding computed results.- Returns:
- a map of all stored results
-
get
Gets the value associated with the specific metric. ThrowsIllegalArgumentException
if the metric is unknown.- Parameters:
key
- The metric to lookup.- Returns:
- The value for that metric.
-