Calculates and sums the value for each individual label and divides for the number of labels.
Calculates the TP, TN, FP and FN for the matrix globally and then applies the correspond formula.
Defines if the value calculation should be weighted. This means the labels with more predictions will weight more in the final value comparing with labels with less predictions.
Generated using TypeDoc
Define the average method to be use in some confusion matrix calculation.