[R] Decision values from KSVM

From: Noah Silverman <noah_at_smartmediacorp.com>
Date: Fri, 11 Jun 2010 14:27:57 -0700


Hi,

I'm working on a project using the kernlab library.

For one phase, I want the "decision values" from the SVM prediction, not the class label. the e1071 library has this function, but I can't find the equivalent in ksvm.

In general, when an SVM is used for classification, the label of an unknown test-case is decided by the "sign" of its resulting value as calculated from the SVM {-,+}
I want the actual values as a proximal representation of the "strength" of the decision. (Further from the hyperplane indicates more confidence)

Any suggestions?



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. Received on Fri 11 Jun 2010 - 21:29:47 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Sat 12 Jun 2010 - 03:30:30 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive