Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when using kernel = "poly_kernel" #13

Open
ayueme opened this issue Nov 18, 2023 · 0 comments
Open

Error when using kernel = "poly_kernel" #13

ayueme opened this issue Nov 18, 2023 · 0 comments

Comments

@ayueme
Copy link

ayueme commented Nov 18, 2023

Hi there,
I'm trying to set the poly_kernel in survivalsvm, But I always get this error: Error in cbind(K, -delta * K) : dims [product 36] do not match the length of object [137] In addition: Warning message: In -delta * K : longer object length is not a multiple of shorter object length.
And I can't fing any help about the poly_kernel. Here's the code:

library(survival)
library(survivalsvm)
survsvm.reg <- survivalsvm(formula = Surv(diagtime, status) ~ ., data = veteran,
                           type = "regression", gamma.mu = 0.1,
                           opt.meth = "ipop", kernel = "poly_kernel")

Could you please give me any suggestions? Thank you very much.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant