1. 学习
  2. /
  3. 课程
  4. /
  5. Support Vector Machines in R

Connected

练习

Visualizing decision & margin bounds using `plot()`

In this exercise, you will rebuild the SVM model (as a refresher) and use the built in SVM plot() function to visualize the decision regions and support vectors. The training data is available in the dataframe trainset.

说明

100 XP
  • Load the library needed to build an SVM model.
  • Build a linear SVM model using the training data.
  • Plot the decision regions and support vectors.