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

Cross Validation #12

Open
amingson opened this issue Sep 17, 2023 · 1 comment
Open

Cross Validation #12

amingson opened this issue Sep 17, 2023 · 1 comment

Comments

@amingson
Copy link

Dear author, thank you for creating this valuable tool.
I would like to know how to run this method using 5-fold or 10-fold cross-validation, as it can help me determine the optimal parameters.
I hope to receive your help.
Best wishes.

@mnwright
Copy link
Member

I’d suggest the mlr3 package, which has survivalsvm included in the mlr3extralearners package. In the mlr3book you have a chapter about survival (where actually SVMs are used):
https://mlr3book.mlr-org.com/chapters/chapter13/beyond_regression_and_classification.html#sec-survival

You’ll also find chapters about resampling (e.g. cross validation) and hyperparameter tuning in the book, i.e.:
https://mlr3book.mlr-org.com/chapters/chapter3/evaluation_and_benchmarking.html#sec-resampling
https://mlr3book.mlr-org.com/chapters/chapter4/hyperparameter_optimization.html

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

2 participants