/confmatrix

Confmatrix is an R function for the RTextTools package. It takes an "analytics@document_summary" object and it produces a confusion matrix the algorithm's precision and recall.

Primary LanguageR

confmatrix

Confmatrix is an R function for the RTextTools package. It takes an "analytics@document_summary" object and it produces a confusion matrix with the algorithm's precision and recall. The output is very similar to the following confusion matrix from Collingwood and Wilkerson (2011):

Alt text