Skip to content

Commit 5c80fc1

Browse files
committed
fix vignette
1 parent 93f4514 commit 5c80fc1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

vignettes/mcboost_basics_extensions.Rmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -521,7 +521,7 @@ We do this in `mlr3` by creating a 2/3 - 1/3 split using `mlr3::partition()` and
521521

522522
```{r}
523523
split = partition(tsk)
524-
tsk$set_row_roles(split$train, "use")
524+
tsk$row_roles$use = split$train
525525
```
526526

527527
### 6.1 Preprocessing

0 commit comments

Comments
 (0)