[R] kernlab: ksvm() bug?
Ben Bolker
bbolker at gmail.com
Sat Aug 27 00:00:00 CEST 2011
Immanuel <mane.desk <at> googlemail.com> writes:
>
> Hello all,
>
> I'm trying to run a gird parameter search for a svm.
> Therefore I'M using the ksvm function from the kernlab package.
> ----
> svp <- ksvm(Ktrain,ytrain,type="nu-svc",nu=C)
> ----
>
> The problem is that the optimization algorithm does not return
> for certain parameters.
>
> I tried to use setTimeLimit() but that doesn't seem to help.
> I suspect that ksvm() calls c code that does not respond to the time limit.
>
> I don't know what else to try.
I would suggest that you (1) try to come up with a reproducible
example <http://tinyurl.com/reproducible-000> (that may help you
narrow down the diagnosis too) and (2) contact the package
maintainers.
> Should this be considered to be a bug?
> Does anyone know a workaround?
Not me.
More information about the R-help
mailing list