Re: [R] r kernlab find best cost parameter automatically

2019-05-26 Thread Luigi Marongiu
That giving the best trade between sensitivity and specificity. On Sat, May 25, 2019 at 12:47 AM Abby Spurdle wrote: > > > Would be possible to automate the selection of the best value? > > Can you define "best", precisely? > > -- Best regards, Luigi _

Re: [R] r kernlab find best cost parameter automatically

2019-05-24 Thread Abby Spurdle
> Would be possible to automate the selection of the best value? Can you define "best", precisely? [[alternative HTML version deleted]] __ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/

[R] r kernlab find best cost parameter automatically

2019-05-23 Thread Luigi Marongiu
Dear all, I am using kernlab to implement an SVM analysis. The model I am building has the syntax: `ksvm( ~ , data = , type = "C-svc", kernel = "rbfdot", kpar = "automatic", C = , prob.model = TRUE)` Here, I can use different values of `k` to give different costs to the model. Each time I give a