From ab7f17570052cc1f6aca2250f830158adab4d59f Mon Sep 17 00:00:00 2001 From: Sebastian Fischer Date: Wed, 9 Aug 2023 17:49:31 +0200 Subject: [PATCH] fix typos --- book/chapters/chapter1/introduction_and_overview.qmd | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/book/chapters/chapter1/introduction_and_overview.qmd b/book/chapters/chapter1/introduction_and_overview.qmd index 1904bb1ab..69456c47e 100644 --- a/book/chapters/chapter1/introduction_and_overview.qmd +++ b/book/chapters/chapter1/introduction_and_overview.qmd @@ -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") ))