T
- The output type.public interface Evaluation<T extends Output<T>> extends com.oracle.labs.mlrg.olcut.provenance.Provenancable<EvaluationProvenance>
Modifier and Type | Method and Description |
---|---|
Map<MetricID<T>,Double> |
asMap()
Get a map of all the metrics stored in this evaluation.
|
default double |
get(MetricID<T> key)
Gets the value associated with the specific metric.
|
List<Prediction<T>> |
getPredictions()
Gets the predictions stored in this evaluation.
|
Map<MetricID<T>,Double> asMap()
default double get(MetricID<T> key)
IllegalArgumentException
if
the metric is unknown.key
- The metric to lookup.List<Prediction<T>> getPredictions()
Copyright © 2015–2021 Oracle and/or its affiliates. All rights reserved.