IniziaInizia gratis

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.

Questo esercizio fa parte del corso

Support Vector Machines in R

Visualizza il corso

Esercizio pratico interattivo

Prova a risolvere questo esercizio completando il codice di esempio.

#list components of model
names(___)
Modifica ed esegui il codice