Uses of Enum Class
org.tribuo.evaluation.metrics.EvaluationMetric.Average
Package
Description
Evaluation classes for multi-class classification.
This package contains the infrastructure classes for building evaluation metrics.
-
Uses of EvaluationMetric.Average in org.tribuo.classification.evaluation
Modifier and TypeMethodDescriptionstatic <T extends Classifiable<T>>
doubleConfusionMetrics.accuracy
(EvaluationMetric.Average average, ConfusionMatrix<T> cm) Calculates the accuracy using the specified average type and confusion matrix. -
Uses of EvaluationMetric.Average in org.tribuo.evaluation.metrics
Modifier and TypeMethodDescriptionstatic EvaluationMetric.Average
Returns the enum constant of this class with the specified name.static EvaluationMetric.Average[]
EvaluationMetric.Average.values()
Returns an array containing the constants of this enum class, in the order they are declared.Modifier and TypeMethodDescriptionMetricTarget.getAverageTarget()
Returns the average this metric computes, orOptional.empty()
if it targets an output.ModifierConstructorDescriptionBuilds a metric target for an average.