Calculating accuracy
Use confusionMatrix(p_class, test[["Class"]])
to calculate a confusion matrix on the test set.
What is the test set accuracy of this model (rounded to the nearest percent)?
This exercise is part of the course
Machine Learning with caret in R
Hands-on interactive exercise
Turn theory into action with one of our interactive exercises
