For survival SVM model, different kernel has different parameters, for example, the kernel "poly_kernel"(polynomial) has the degree
parameter, but it is included in the kernel.pars
argument. Then how can I tune the degree
? Also, how can I tune degree
and kernel
together?
Thank you very much.
I can only find little information about the
kernel.pars
parameter in the documentation ofsurvivalsvm::survivalsvm()
. According to the documentation,kernel.pars
should be a vector of length 1. The code ofsurvivalsvm
does not work ifkernel.pars
is longer than 1. However, if the kernel is set topoly_kernel
, a second element is accessed here. Probably thedegree
parameter. So I can't getsurvivalsvm
to run withpoly_kernel
. Maybe you have to ask the maintainer. On the mlr3 side you have to use a transformation function to use such special parameters. Here you can find more information.