Skip to content

Commit

Permalink
Merge pull request #723 from mlr-org/pipe
Browse files Browse the repository at this point in the history
fix margittr pipe
  • Loading branch information
RaphaelS1 authored Aug 17, 2023
2 parents a64f532 + ab7f175 commit 958d3c7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions book/chapters/chapter1/introduction_and_overview.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -123,14 +123,14 @@ library(mlr3verse)
tasks = tsks(c("breast_cancer", "sonar"))
glrn_rf_tuned = as_learner(ppl("robustify") %>% auto_tuner(
glrn_rf_tuned = as_learner(ppl("robustify") %>>% auto_tuner(
tnr("grid_search", resolution = 5),
lrn("classif.ranger", num.trees = to_tune(200, 500)),
rsmp("holdout")
))
glrn_rf_tuned$id = "RF"
glrn_stack = as_learner(ppl("robustify") %>% ppl("stacking",
glrn_stack = as_learner(ppl("robustify") %>>% ppl("stacking",
lrns(c("classif.rpart", "classif.kknn")),
lrn("classif.log_reg")
))
Expand Down

0 comments on commit 958d3c7

Please sign in to comment.