Matrix Constructor
Accuracy v.
Accuracy v.s. randomly classifying all samples. kappa() = (totalAccuracy() - randomAccuracy()) / (1 - randomAccuracy()) Cohen, Jacob. 1960. A coefficient of agreement for nominal scales. Educational And Psychological Measurement 20:37-46.
Formula and variable names from: http://www.yale.edu/ceo/OEFS/Accuracy.pdf
double
Standard deviation of normalized producer accuracy Not a standard score
Standard deviation of normalized producer accuracy Not a standard score
double
This is overloaded.
This is overloaded. toString() is not a formatted report you print for a manager :) Assume that if there are no default assignments, the default feature was not used
Ported from org.apache.mahout.classifier.ConfusionMatrix.java
The ConfusionMatrix Class stores the result of Classification of a Test Dataset.
The fact of whether there is a default is not stored. A row of zeros is the only indicator that there is no default.
See http://en.wikipedia.org/wiki/Confusion_matrix for background