CommencerCommencer gratuitement

Calculating true negative rate

Use confusionMatrix(p_class, test[["Class"]]) to calculate a confusion matrix on the test set.

What is the test set true negative rate (or specificity) 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