kumulant

AccuracyResult

@Serializable
@SerialName(value = "AccuracyResult")
data class AccuracyResult(val accuracy: Double, val totalWeights: Double) : HasObservationCount(source)

Weighted classification accuracy and the total weight of admitted label pairs.

Constructors

AccuracyResult

constructor(accuracy: Double, totalWeights: Double)(source)

Properties

accuracy

Weighted fraction of matching predicted and true labels; zero before any observation.

totalWeights

open override val totalWeights: Double(source)

Cumulative weight of observations folded into this result.

Link copied to clipboard
open val isEmpty: Boolean

True when totalWeights is not positive, including zero, negative values, and NaN.