Displaying 2 results from an estimated 2 matches for "bsvr".
Did you mean:
bsr
2010 Sep 24
0
kernlab:ksvm:eps-svr: bug?
Hi,
A. In a nutshell:
The training error, obtained as "error (ret)", from the return value
of a ksvm () call for a eps-svr model is (likely) being computed
wrongly. "nu-svr" and "eps-bsvr" suffer from this as well.
I am attaching three files: (1) ksvm.R from the the kernlab package,
un-edited, (2) ksvm_eps-svr.txt: (for easier reading) containing only
eps-svr pertinent blocks of code from ksvm.R with line numbers
prefixed to each line (I hope no licenses are being violated!)...
2012 Feb 14
1
cross validation in rvm not working? (kernlab package)
...d cross validation I get the following error message:
Error in match.arg(type, c("C-svc", "nu-svc", "kbb-svc", "spoc-svc", "C-bsvc", :
'arg' should be one of ?C-svc?, ?nu-svc?, ?kbb-svc?, ?spoc-svc?, ?C-bsvc?, ?one-svc?, ?eps-svr?, ?eps-bsvr?, ?nu-svr?
code-example:
# create data
x <- seq(-20,20,0.1)
y <- sin(x)/x + rnorm(401,sd=0.05)
# train relevance vector machine
foo <- rvm(x, y, cross=10)
So, does that mean that cross-validation is not working for rvm at the moment?
(since the type argument only allows support vecto...