ClassificationPrimaryMetrics

enum ClassificationPrimaryMetrics : Enum<ClassificationPrimaryMetrics> , ConvertibleToJava<ClassificationPrimaryMetrics>

Primary metric for Text-Classification task.

Entries

Link copied to clipboard

AUC is the Area under the curve. This metric represents arithmetic mean of the score for each class, weighted by the number of true instances in each class.

Link copied to clipboard

Accuracy is the ratio of predictions that exactly match the true class labels.

Link copied to clipboard

Normalized macro recall is recall macro-averaged and normalized, so that random performance has a score of 0, and perfect performance has a score of 1.

Link copied to clipboard

The arithmetic mean of the average precision score for each class, weighted by the number of true instances in each class.

Link copied to clipboard

The arithmetic mean of precision for each class, weighted by number of true instances in each class.

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Returns a representation of an immutable list of all enum entries, in the order they're declared.

Link copied to clipboard
val javaValue: ClassificationPrimaryMetrics
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
open override fun toJava(): ClassificationPrimaryMetrics
Link copied to clipboard

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.