Accuracy
@Serializable
@SerialName(value = "Accuracy")
Spec for AccuracyStat: weighted classification accuracy over (predictedClass, trueClass).
numClasses is required rather than defaulted: accuracy is only comparable with ConfusionMatrix over the same stream if both bound the labels the same way, and defaulting a bound would silently score labels the author never declared.
Properties
numClasses
Number of classes; class indices are [0, numClasses).