O'Reilly logo

R Data Analysis Cookbook - Second Edition by Kuntal Ganguly

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Determining the type of SVM model

By default, when the outcome variable is a factor, svm performs classification. When the outcome is numeric, it performs regression. We can override the default or select other options through these values for type:

  • type = C-classification
  • type = nu-classification
  • type = one-classification
  • type = eps-regression
  • type = nu-.regression

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required