Skip to content

Commit

Permalink
Merge branch 'main' into aorsf-min-events
Browse files Browse the repository at this point in the history
  • Loading branch information
jemus42 authored Nov 8, 2024
2 parents 7880bd4 + fef9dd7 commit 58c4cad
Show file tree
Hide file tree
Showing 7 changed files with 10 additions and 6 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package: mlr3extralearners
Title: Extra Learners For mlr3
Version: 0.9.0-9000
Version: 1.0.0
Authors@R: c(
person("Raphael", "Sonabend", , "[email protected]", role = "aut",
comment = c(ORCID = "0000-0001-9225-4654")),
Expand Down
2 changes: 2 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# dev

# mlr3extralearners 1.0.0

* Add "Prediction types" doc section for all 30 survival learners + make sure it is consistent #347
* All survival learners have `crank` as main prediction type (and it is always returned) #331
* Added minimum working version for all survival learners in `DESCRIPTION` file
Expand Down
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 58c4cad

Please sign in to comment.