Exploring the model and calculating accuracy
In this exercise you will explore the contents of the model and calculate its training and test accuracies. The training and test data are available in the data frames trainset
and testset
respectively, and the SVM model is stored in the variable svm_model
.
Cet exercice fait partie du cours
Support Vector Machines in R
Exercice interactif pratique
Essayez cet exercice en complétant cet exemple de code.
#list components of model
names(___)