[R] Erros with RVM and LSSVM from kernlab library

2009-08-19 Thread Noah Silverman
Hello, In my ongoing quest to develop a best model, I'm testing various forms of SVM to see which is best for my application. I have been using the SVM from the e1071 library without problem for several weeks. Now, I'm interested in RVM and LSSVM to see if I get better performance. When

Re: [R] Erros with RVM and LSSVM from kernlab library

2009-08-19 Thread Steve Lianoglou
Howdy, On Aug 19, 2009, at 2:54 PM, Noah Silverman wrote: Hi Steve, No custom kernel. (This is the exact same data that I call svm with. svm works without a complaint.) traindata is just a dataframe of numerical attributes trainlabels is just a vector of labels. (good, bad) Then I call

Re: [R] Erros with RVM and LSSVM from kernlab library

2009-08-19 Thread Steve Lianoglou
Hi, On Aug 19, 2009, at 1:27 PM, Noah Silverman wrote: Hello, In my ongoing quest to develop a best model, I'm testing various forms of SVM to see which is best for my application. I have been using the SVM from the e1071 library without problem for several weeks. Now, I'm interested

Re: [R] Erros with RVM and LSSVM from kernlab library

2009-08-19 Thread Noah Silverman
Hi Steve, No custom kernel. (This is the exact same data that I call svm with. svm works without a complaint.) traindata is just a dataframe of numerical attributes trainlabels is just a vector of labels. (good, bad) Then I call model - rvm(x,y) On 8/19/09 11:50 AM, Steve Lianoglou

Re: [R] Erros with RVM and LSSVM from kernlab library

2009-08-19 Thread Noah Silverman
Steve, That makes sense, except that x is a data.frame with about 70 columns. So I don't see how it would convert to a list. -N On 8/19/09 12:09 PM, Steve Lianoglou wrote: Howdy, On Aug 19, 2009, at 2:54 PM, Noah Silverman wrote: Hi Steve, No custom kernel. (This is the exact same data

Re: [R] Erros with RVM and LSSVM from kernlab library

2009-08-19 Thread Steve Lianoglou
Steve, That makes sense, except that x is a data.frame with about 70 columns. So I don't see how it would convert to a list. Yeah ... not sure if that's what happening (R class relationships/ testing is still a bit of a mystery to me), but see: R df - data.frame(a=1:10,b=1:10) R is(df)

Re: [R] Erros with RVM and LSSVM from kernlab library

2009-08-19 Thread David Winsemius
On Aug 19, 2009, at 3:17 PM, Steve Lianoglou wrote: Steve, That makes sense, except that x is a data.frame with about 70 columns. So I don't see how it would convert to a list. Yeah ... not sure if that's what happening (R class relationships/ testing is still a bit of a mystery to me),

Re: [R] Erros with RVM and LSSVM from kernlab library

2009-08-19 Thread Noah Silverman
Steve, Not sure what to do with this. I have a data.frame. Don't know how to convert it to a list. Does anybody else have any input on this? On 8/19/09 12:17 PM, Steve Lianoglou wrote: Steve, That makes sense, except that x is a data.frame with about 70 columns. So I don't see how it

Re: [R] Erros with RVM and LSSVM from kernlab library

2009-08-19 Thread David Winsemius
On Aug 19, 2009, at 6:11 PM, Noah Silverman wrote: Steve, Not sure what to do with this. I have a data.frame. Don't know how to convert it to a list. A data.frame is a list. Does anybody else have any input on this? On 8/19/09 12:17 PM, Steve Lianoglou wrote: Steve, That makes

Re: [R] Erros with RVM and LSSVM from kernlab library

2009-08-19 Thread Noah Silverman
Thanks David, Then, do you have any clue why RVM or LSSVM would be generating an error? My original post was: When running RVM or LSSVM on the exact same data as the SVM{e1071}, I get an error that I don't understand: Error in .local(x, ...) : kernel must inherit from class 'kernel' Any

Re: [R] Erros with RVM and LSSVM from kernlab library

2009-08-19 Thread David Winsemius
On Aug 19, 2009, at 6:30 PM, Noah Silverman wrote: Thanks David, Then, do you have any clue why RVM or LSSVM would be generating an error? No. My original post was: When running RVM or LSSVM on the exact same data as the SVM{e1071}, I get an error that I don't understand: Error in

Re: [R] Erros with RVM and LSSVM from kernlab library

2009-08-19 Thread Max Kuhn
I think that the issue is that this version of rvm is only for regression (and, if I understood correctly, you are passing class labels). Max On Aug 19, 2009, at 6:36 PM, David Winsemius dwinsem...@comcast.net wrote: On Aug 19, 2009, at 6:30 PM, Noah Silverman wrote: Thanks David,

Re: [R] Erros with RVM and LSSVM from kernlab library

2009-08-19 Thread Noah Silverman
Ding! We have a winner :) Thanks Max, that's exactly the problem. I don't know how I missed that. I'm looking for different modeling functions to try for best predictive results. An SVM isn't bad, but I'm looking for more. The RVM sounded interesting, but I guess it won't work for my