rows are the true labels, cols are the predicted labels
Pretty-prints the confusion matrix in a style similar to Mahout.
Pretty-prints the confusion matrix in a style similar to Mahout. Predicted labels are in columns. True labels in rows
An array containing the class names, where the indices are the class labels
the pretty-printed string
Pretty-prints a summary of how the multiclass classifier did (including the confusion matrix)
Pretty-prints a summary of how the multiclass classifier did (including the confusion matrix)
An array containing the class names, where the indices are the class labels
the pretty-printed string
Contains the confusion matrix for a multiclass classifier, and provides common metrics such as micro & macro precision & recall
Similar to MLlib's org.apache.spark.mllib.evaluation.MulticlassMetrics, but only does one pass over the data to calculate everything
Sample metrics compared at: Sokolova, M., & Lapalme, G. (2009). A systematic analysis of performance measures for classification tasks. Information Processing and Management, 45, p. 427-437 http://rali.iro.umontreal.ca/rali/sites/default/files/publis/SokolovaLapalme-JIPM09.pdf
rows are the true labels, cols are the predicted labels