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.parsparameter in the documentation ofsurvivalsvm::survivalsvm(). According to the documentation,kernel.parsshould be a vector of length 1. The code ofsurvivalsvmdoes not work ifkernel.parsis longer than 1. However, if the kernel is set topoly_kernel, a second element is accessed here. Probably thedegreeparameter. So I can't getsurvivalsvmto 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.