Uses of Class
org.tribuo.evaluation.metrics.MetricContext
Package
Description
Evaluation classes for multi-class classification.
Evaluation base classes, along with code for train/test splits and cross validation.
This package contains the infrastructure classes for building evaluation metrics.
Provides core classes for working with sequences of
Example
s.-
Uses of MetricContext in org.tribuo.classification.evaluation
Modifier and TypeClassDescriptionstatic final class
The context for aLabelMetric
is aConfusionMatrix
. -
Uses of MetricContext in org.tribuo.evaluation
Modifier and TypeClassDescriptionclass
AbstractEvaluator<T extends Output<T>,
C extends MetricContext<T>, E extends Evaluation<T>, M extends EvaluationMetric<T, C>> Base class for evaluators.Modifier and TypeMethodDescriptionstatic <T extends Output<T>,
C extends MetricContext<T>>
com.oracle.labs.mlrg.olcut.util.Pair<Integer,Double> EvaluationAggregator.argmax
(EvaluationMetric<T, C> metric, List<? extends Model<T>> models, Dataset<T> dataset) Calculates the argmax of a metric across the supplied models (i.e., the index of the model which performed the best).static <T extends Output<T>,
C extends MetricContext<T>>
com.oracle.labs.mlrg.olcut.util.Pair<Integer,Double> EvaluationAggregator.argmax
(EvaluationMetric<T, C> metric, Model<T> model, List<? extends Dataset<T>> datasets) Calculates the argmax of a metric across the supplied datasets.static <T extends Output<T>,
C extends MetricContext<T>>
DescriptiveStatsEvaluationAggregator.summarize
(List<? extends EvaluationMetric<T, C>> metrics, Model<T> model, List<Prediction<T>> predictions) Summarize model performance on dataset across several metrics.static <T extends Output<T>,
C extends MetricContext<T>>
DescriptiveStatsEvaluationAggregator.summarize
(List<? extends EvaluationMetric<T, C>> metrics, Model<T> model, Dataset<T> dataset) Summarize model performance on dataset across several metrics.static <T extends Output<T>,
C extends MetricContext<T>>
DescriptiveStatsEvaluationAggregator.summarize
(EvaluationMetric<T, C> metric, List<? extends Model<T>> models, Dataset<T> dataset) Summarize performance w.r.t.static <T extends Output<T>,
C extends MetricContext<T>>
DescriptiveStatsEvaluationAggregator.summarize
(EvaluationMetric<T, C> metric, Model<T> model, List<? extends Dataset<T>> datasets) Summarize a model's performance w.r.t. -
Uses of MetricContext in org.tribuo.evaluation.metrics
Modifier and TypeInterfaceDescriptioninterface
EvaluationMetric<T extends Output<T>,
C extends MetricContext<T>> A metric that can be calculated for the specified output type. -
Uses of MetricContext in org.tribuo.sequence
Modifier and TypeClassDescriptionclass
AbstractSequenceEvaluator<T extends Output<T>,
C extends MetricContext<T>, E extends SequenceEvaluation<T>, M extends EvaluationMetric<T, C>> Base class for sequence evaluators.