Skip to content

Commit 08e9d2b

Browse files
committed
fix simsurv bug
1 parent 9011fba commit 08e9d2b

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

DESCRIPTION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Package: mlr3proba
22
Title: Probabilistic Supervised Learning for 'mlr3'
3-
Version: 0.4.3
3+
Version: 0.4.3.9000
44
Authors@R:
55
c(person(given = "Raphael",
66
family = "Sonabend",

NEWS.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# mlr3proba 0.4.3.9000
2+
3+
* Fixed bug in `simsurv` task that made it impossible to predict the target
4+
15
# mlr3proba 0.4.3
26

37
* Massive speed-up in distrcompositor PipeOp/pipeline

R/TaskGeneratorSimsurv.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ TaskGeneratorSimsurv = R6Class("TaskGeneratorSimsurv",
5555
)
5656
betas = c(treatment = -0.5, height = 1, weight = 0)
5757

58-
data = setDT(invoke(simsurv::simsurv, x = covs, betas = , .args = pv)) # nolint
58+
data = setDT(invoke(simsurv::simsurv, x = covs, betas = betas, .args = pv)) # nolint
5959
data = rcbind(data, covs)
6060
TaskSurv$new("simsurv", remove_named(data, "id"), time = "eventtime", event = "status")
6161
}

0 commit comments

Comments
 (0)