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 in RVM and LSSVM to see if I get better performance.

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'

Does this make sense to anyone?  Can you suggest how to resolve this?

Sure, it just means that whatever you are passing as a value to the kernel= parameter of your function call is not a kernel function (that kernlab knows about).

Did you rig up a custom kernel function? If so -- be sure to set its class properly. Otherwise, can you provide something of a self- contained piece of code that you're using to invoke these functions such that it's giving you these errors?

-steve

--
Steve Lianoglou
Graduate Student: Computational Systems Biology
  |  Memorial Sloan-Kettering Cancer Center
  |  Weill Medical College of Cornell University
Contact Info: http://cbio.mskcc.org/~lianos/contact

______________________________________________
R-help@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.

Reply via email to