1. Learn
  2. /
  3. Courses
  4. /
  5. Support Vector Machines in R

Exercise

Visualize the maximal margin separator

In this exercise you will add the maximal margin separator to the scatter plot you created in an earlier exercise. The plot has been reproduced on the right.

Instructions

100 XP
  • Create a data frame called separator containing the maximal margin separator. This is available in the variable mm_separator(enter mm_separator to see it)
  • Use the data frame created to add the maximal margin separator to the sugar content scatterplot created in the earlier exercise and display the result.