[R] Only one class shown in SVM plot?

Jessica Streicher j.streicher at micromata.de
Thu Jul 26 14:20:51 CEST 2012


but a wild guess: if your class information is numeric the default is to do eps-regression, not classification. Use factors or specify the type you want to use.


might help there.

On 25.07.2012, at 15:31, Meffy wrote:

> Hello users!
> I'm calculating a simple model using svm(...) from the e1071 package. So far
> so good, with a linear kernel I'm getting 5 SVs. When plotting the result I
> see very well separated data clouds, but the underlying color is constantly
> pink, so as far as I understand no class separation is shown...
> I would be happy if anyone could explain me this behaviour because I think I
> have a little knot in my brain here...
> Thanks in advance!
> Greetings, Matthias 
> --
> View this message in context: http://r.789695.n4.nabble.com/Only-one-class-shown-in-SVM-plot-tp4637782.html
> Sent from the R help mailing list archive at Nabble.com.
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.

More information about the R-help mailing list