[R] nu-SVM crashes in e1071
mailinglist.honeypot at gmail.com
Tue Mar 2 18:15:31 CET 2010
On Tue, Mar 2, 2010 at 11:05 AM, Häring, Tim (LWF)
<Tim.Haering at lwf.bayern.de> wrote:
>> > I`m using SVMs for multi-class classification problems. Therefore I`m
>> using the svm() function in the package "e1071".
>> > If I use svm(...type="C-classification") everything works fine. But
>> if I want to use nu-SVM with svm(..., type="nu-classification", nu=0.5)
>> R crashes immediately. No error message - just crash.
>> > Did anybody had the same problem and maybe a solution?
>> > I`m using R 2.10.0 and the latest Version of e1071
>> Maybe for your unstated OS with unstated version of e1071 on an
>> version of R without a reproducible example given.
>> For my WinXP, R-2.10.1, e1071 1.5-22 I get:
>> model <- svm(Species ~ ., data = iris, type="nu-classification")
> O.k. - sorry for my sparse information.
> I just made an update to R-2.10.1 and e1071 version 1.5-22 on WinXP.
> I can reproduce the example with the iris dataset. However R crashes when I call svm() with my dataset
> model <- svm(soil_unit ~ ., data = traindat, type="nu-classification")
> My dataset consists of 9259 obs. of 14 variables. My target variable is a factor variable with 22 levels (multi-class classification). Predictors are 12 numeric and 1 factor variables.
> Hoping this information is enough.
While you're sending your bug report to David, perhaps you can try the
SVM from kernlab.
It relies on code from libsvm, too, but ... you never know. It can't
hurt to try.
Graduate Student: Computational Systems Biology
| Memorial Sloan-Kettering Cancer Center
| Weill Medical College of Cornell University
Contact Info: http://cbio.mskcc.org/~lianos/contact
More information about the R-help