CommencerCommencer gratuitement

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)?

Cet exercice fait partie du cours

Machine Learning with caret in R

Afficher le cours

Exercice interactif pratique

Passez de la théorie à la pratique avec l’un de nos exercices interactifs

Commencer l’exercice