Uses of Enum Class
org.tribuo.evaluation.metrics.EvaluationMetric.Average
Packages that use 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
Methods in org.tribuo.classification.evaluation with parameters of type EvaluationMetric.AverageModifier 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
Methods in org.tribuo.evaluation.metrics that return EvaluationMetric.AverageModifier 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.Methods in org.tribuo.evaluation.metrics that return types with arguments of type EvaluationMetric.AverageModifier and TypeMethodDescriptionMetricTarget.getAverageTarget()
Returns the average this metric computes, orOptional.empty()
if it targets an output.Constructors in org.tribuo.evaluation.metrics with parameters of type EvaluationMetric.AverageModifierConstructorDescriptionBuilds a metric target for an average.