https://github.com/kapsner/mlsurvlrnrs
Survival learners for the `mlexperiments` R 📦
https://github.com/kapsner/mlsurvlrnrs
algorithms cox-regression experiments glmnet learners machine-learning r r-package random-survival-forests survival survival-support-vector-machine xgboost
Last synced: 17 days ago
JSON representation
Survival learners for the `mlexperiments` R 📦
- Host: GitHub
- URL: https://github.com/kapsner/mlsurvlrnrs
- Owner: kapsner
- License: gpl-3.0
- Created: 2022-11-12T14:07:52.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2025-03-05T07:29:40.000Z (3 months ago)
- Last Synced: 2025-04-25T03:15:15.267Z (27 days ago)
- Topics: algorithms, cox-regression, experiments, glmnet, learners, machine-learning, r, r-package, random-survival-forests, survival, survival-support-vector-machine, xgboost
- Language: R
- Homepage: https://github.com/kapsner/mlsurvlrnrs/wiki
- Size: 121 KB
- Stars: 3
- Watchers: 1
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: NEWS.md
- License: LICENSE.md
Awesome Lists containing this project
README
# mlsurvlrnrs
[](https://lifecycle.r-lib.org/articles/stages.html#experimental)
[](https://cran.r-project.org/package=mlsurvlrnrs)
[](https://cran.r-project.org/web/checks/check_results_mlsurvlrnrs.html)
[](https://cran.r-project.org/package=mlsurvlrnrs)
[](https://cran.r-project.org/package=mlsurvlrnrs)
[](https://cran.r-project.org/package=mlsurvlrnrs)
[](https://github.com/kapsner/mlsurvlrnrs/actions)
[](https://github.com/kapsner/mlsurvlrnrs/actions)
[](https://github.com/kapsner/mlsurvlrnrs/actions)
[](https://app.codecov.io/gh/https://github.com/kapsner/mlsurvlrnrs)The goal of `mlsurvlrnrs` is to enhance the
[`mlexperiments`](https://github.com/kapsner/mlexperiments) R package
with survival learners.Currently implemented learners are:
| Name | Based on | Description / Tasks |
|----|----|----|
| LearnerSurvCoxPHCox | `survival::coxph` | Cox Proportional Hazards Regression |
| LearnerSurvGlmnetCox | `glmnet::glmnet` | Regularized Cox Regression |
| LearnerSurvRangerCox | `ranger::ranger` | Random Survival Forest with right-censored data |
| LearnerSurvRpartCox | `rpart::rpart` | Random Survival Forest with right-censored data |
| LearnerSurvXgboostCox | `xgboost::xgb.train` | Cox Regression with right-censored data |
| LearnerSurvXgboostAft | `xgboost::xgb.train` | [Accelerated failure time models](https://xgboost.readthedocs.io/en/stable/tutorials/aft_survival_analysis.html) with right-censored data |For a short introduction on how to use the learners together with the
`mlexperiments` R package, please visit the [wiki
page](https://github.com/kapsner/mlsurvlrnrs/wiki).## Installation
To install the development version, run
``` r
install.packages("remotes")
remotes::install_github("kapsner/mlsurvlrnrs")
```