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)?
Deze oefening maakt deel uit van de cursus
Machine Learning with caret in R
Praktische interactieve oefening
Zet theorie om in actie met een van onze interactieve oefeningen.
Begin met trainen