Dear all, I am using kernlab to implement an SVM analysis. The model I am building has the syntax: `ksvm(<y> ~ <x>, data = <dataframe>, type = "C-svc", kernel "rbfdot", kpar = "automatic", C = <k>, prob.model = TRUE)` Here, I can use different values of `k` to give different costs to the model. Each time I give a different k, the results obviously change. Would be possible to automate the selection of the best <k> value? Thank you -- Best regards, Luigi
> Would be possible to automate the selection of the best <k> value?Can you define "best", precisely? [[alternative HTML version deleted]]
That giving the best trade between sensitivity and specificity. On Sat, May 25, 2019 at 12:47 AM Abby Spurdle <spurdle.a at gmail.com> wrote:> > > Would be possible to automate the selection of the best <k> value? > > Can you define "best", precisely? > >-- Best regards, Luigi