I would like to print simple table which will show how much rows in test set were predicted right and how much were wrong (true-negative, false-positive).
| class1 | class2 |
class1|0.577995490|0.686545476|
class2|0.885664669|0.559988874|
(values in this table are not real)
I am currently using klaR package and NaiveBayes function which i use in predict() function. It looks like this:
prediction <- predict(naiveBayesSet, testSet)