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
.
This exercise is part of the course
Support Vector Machines in R
Hands-on interactive exercise
Have a go at this exercise by completing this sample code.
#list components of model
names(___)