Skip to content
Back to formatted view

Raw Message

Message-ID: <3CE81AB2-04CC-470E-8153-E2F72B26BCC9@micromata.de>
Date: 2012-07-26T12:20:51Z
From: Jessica Streicher
Subject: Only one class shown in SVM plot?
In-Reply-To: <1343223070795-4637782.post@n4.nabble.com>

example!!!!

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.

?svm

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.