Skip to content

Commit a8f5e0e

Browse files
committed
Implement survival machine learning modelsgit add .! big update
1 parent 987f9f7 commit a8f5e0e

12 files changed

+1660
-163
lines changed

DESCRIPTION

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,13 @@ Imports:
2626
tibble,
2727
tidyr,
2828
rlang,
29-
Boruta
29+
Boruta,
30+
censored,
31+
survival,
32+
tidyverse,
33+
tidymodels,
34+
cowplot,
35+
recipes
3036
Remotes:
3137
VeraPancaldiLab/multideconv,
3238
Suggests:
@@ -46,3 +52,4 @@ Depends:
4652
R (>= 4.3)
4753
Config/testthat/edition: 3
4854
URL: https://github.com/VeraPancaldiLab/pipeML
55+

NAMESPACE

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,20 @@ export(calculate_f1)
66
export(calculate_feature_importance_stacking)
77
export(calculate_mcc)
88
export(compute_custom_k_fold_CV)
9+
export(compute_cv_CINDEX)
910
export(compute_features.ML)
1011
export(compute_features.training.ML)
1112
export(compute_prediction)
1213
export(compute_variable.importance)
14+
export(cross_validation_custom)
1315
export(feature.selection.boruta)
1416
export(find.ML.models)
1517
export(get_curves)
18+
export(get_default_hyperparams)
1619
export(get_sensitivity_specificity)
20+
export(machine_learning_custom)
1721
export(plot_shap_values)
22+
export(plot_survival_performance)
1823
export(preprocess_features)
1924
export(wrapper_train_best_hyperparams)
2025
import(caret)

R/machine_learning.R

Lines changed: 1234 additions & 111 deletions
Large diffs are not rendered by default.

man/compute_cv_CINDEX.Rd

Lines changed: 63 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

man/compute_features.ML.Rd

Lines changed: 103 additions & 39 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

man/compute_features.training.ML.Rd

Lines changed: 7 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

man/cross_validation_custom.Rd

Lines changed: 55 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)