Interface Evaluation<T extends Output<T>>
- Type Parameters:
T- The output type.
- All Superinterfaces:
com.oracle.labs.mlrg.olcut.provenance.Provenancable<EvaluationProvenance>
- All Known Subinterfaces:
AnomalyEvaluation,ClassifierEvaluation<T>,ClusteringEvaluation,LabelEvaluation,MultiLabelEvaluation,RegressionEvaluation
- All Known Implementing Classes:
MultiLabelEvaluationImpl
public interface Evaluation<T extends Output<T>>
extends com.oracle.labs.mlrg.olcut.provenance.Provenancable<EvaluationProvenance>
An immutable evaluation of a specific model and dataset.
-
Method Summary
Methods inherited from interface com.oracle.labs.mlrg.olcut.provenance.Provenancable
getProvenance
-
Method Details
-
asMap
-
get
Gets the value associated with the specific metric. ThrowsIllegalArgumentExceptionif the metric is unknown.- Parameters:
key- The metric to lookup.- Returns:
- The value for that metric.
-
getPredictions
List<Prediction<T>> getPredictions()Gets the predictions stored in this evaluation.- Returns:
- The predictions.
-