[R] kernlab | ksvm error
Uwe Ligges
ligges at statistik.tu-dortmund.de
Mon Aug 27 11:09:17 CEST 2012
On 26.08.2012 15:33, Reza Salimi-Khorshidi wrote:
> Thanks Uwe,
> Am I right that in ksvm's internal cross-validation, there is no
> guarantee for having *at least one* of each classes in each subset?
That is my guess, but I haven't read the code. Please read it yourself
in case you want more details - or ask the author of tht function.
Best,
Uwe Ligges
>
> Some randomness is involved, and when you get an unfortunate
> subsample (e.g. if in the internal cross-validation one class is not
> selected at all) it won't work anymore.
>
More information about the R-help
mailing list