Get startedGet started for free

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

View Course

Hands-on interactive exercise

Have a go at this exercise by completing this sample code.

#list components of model
names(___)
Edit and Run Code