Skip to content

Commit

Permalink
Merge branch 'main' into aorsf_control_custom
Browse files Browse the repository at this point in the history
  • Loading branch information
sebffischer authored Nov 6, 2024
2 parents 3339991 + 1417d6a commit 097f713
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 5 deletions.
4 changes: 3 additions & 1 deletion R/learner_BART_surv_bart.R
Original file line number Diff line number Diff line change
Expand Up @@ -137,9 +137,11 @@ LearnerSurvLearnerSurvBART = R6Class("LearnerSurvLearnerSurvBART",
times = truth[, 1]
delta = truth[, 2] # delta => status

.fun = ifelse(.Platform$OS.type == "windows", BART::surv.bart, BART::mc.surv.bart)

list(
model = invoke(
BART::mc.surv.bart,
.fun,
x.train = x.train,
times = times,
delta = delta,
Expand Down
2 changes: 1 addition & 1 deletion R/learner_mgcv_classif_gam.R
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#' @title Classification Generalized Additive Model Learner
#' @author JazzyPierrot
#' @author pierrecamilleri
#' @name mlr_learners_classif.gam
#'
#' @description
Expand Down
2 changes: 1 addition & 1 deletion R/learner_mgcv_regr_gam.R
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#' @title Regression Generalized Additive Model Learner
#' @author JazzyPierrot
#' @author pierrecamilleri
#' @name mlr_learners_regr.gam
#'
#' @description
Expand Down
2 changes: 1 addition & 1 deletion man/mlr_learners_classif.gam.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/mlr_learners_regr.gam.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 097f713

Please sign in to comment.