Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
36 commits
Select commit Hold shift + click to select a range
5a343f1
moved paradox vignette to new folder chapter 10_1
awinterstetter Sep 5, 2025
f101004
renaming folder names
awinterstetter Sep 5, 2025
820140e
chapter 14 renamed
awinterstetter Sep 5, 2025
33db51a
created paradox_vignette.qmd
awinterstetter Sep 5, 2025
b835da0
_quarto.yml updated
awinterstetter Sep 7, 2025
eb34137
removed authors line
awinterstetter Sep 7, 2025
eb48d9c
renaming paradox chapter + reordering of headlines level
awinterstetter Sep 8, 2025
809af7d
chapters 10 & 11 reordered; new chapter 11 renamed; "tihs"-type fixed
awinterstetter Sep 10, 2025
fda5172
typo fixed HERE
awinterstetter Sep 10, 2025
86b4e4e
removed ParamHelpers paragraph
awinterstetter Sep 10, 2025
63ac7aa
## Defining a Tuning Space - removed Creating ParamSets and Transform…
awinterstetter Sep 11, 2025
2369881
replacing $extra_trafo by .extra_trafo
awinterstetter Sep 11, 2025
eda2fb9
corrected typo regarding $set_values()
awinterstetter Sep 11, 2025
d0736bf
reordering of one sentence so text flows better
awinterstetter Sep 12, 2025
7419df8
moving text one line down so header has more space
awinterstetter Sep 12, 2025
32fd683
provided better context in section Factor Level Transformation
awinterstetter Sep 12, 2025
09bdf2e
implemented chatGPT recommendation 13/17/21 and 30 to 38
awinterstetter Sep 13, 2025
91beb88
comment out "C-classification"
awinterstetter Sep 15, 2025
7826844
changed () in forward/backward-references
awinterstetter Sep 16, 2025
b0619df
Merge branch 'main' into mlr3book_paradox_vignette
mb706 Oct 13, 2025
d9180ba
Merge branch 'main' into mlr3book_paradox_vignette
be-marc Nov 26, 2025
185d03a
...
be-marc Nov 26, 2025
da39370
changes in chapter overview and authors
awinterstetter Nov 27, 2025
93cadc3
changed r chapter from paradox vignette to proper name
awinterstetter Nov 27, 2025
1708039
removed miesmuschel, because package is not known (check with marc)
awinterstetter Nov 27, 2025
3a66f13
changed cloumn width
awinterstetter Nov 27, 2025
c110f8a
style guide changes
awinterstetter Nov 28, 2025
01159a9
adhere chapter 11 to style guide
awinterstetter Dec 3, 2025
c18247b
fixed `r rpart` error
awinterstetter Dec 3, 2025
1e20c49
fixed `rpart.control` error because rpart is not loaded
awinterstetter Dec 3, 2025
835dfa1
removed ref for as.data.table
awinterstetter Dec 3, 2025
4ba433b
more fixes regarding wrong referencing of data.table
awinterstetter Dec 3, 2025
01819b7
fix `r lhs`
awinterstetter Dec 3, 2025
69dcd70
fixes after seeing rendered chapter
awinterstetter Dec 4, 2025
a9b4118
fix regarding ref for Design
awinterstetter Dec 4, 2025
685a35d
more fixes after seeing rendered version
awinterstetter Dec 5, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 6 additions & 5 deletions book/_quarto.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,11 +40,12 @@ book:
- part: "Advanced Topics"
chapters:
- chapters/chapter10/advanced_technical_aspects_of_mlr3.qmd
- chapters/chapter11/large-scale_benchmarking.qmd
- chapters/chapter12/model_interpretation.qmd
- chapters/chapter13/beyond_regression_and_classification.qmd
- chapters/chapter14/algorithmic_fairness.qmd
- chapters/chapter15/predsets_valid_inttune.qmd
- chapters/chapter11/advanced_hyperparameter_specification_using_paradox.qmd
- chapters/chapter12/large-scale_benchmarking.qmd
- chapters/chapter13/model_interpretation.qmd
- chapters/chapter14/beyond_regression_and_classification.qmd
- chapters/chapter15/algorithmic_fairness.qmd
- chapters/chapter16/predsets_valid_inttune.qmd
- chapters/references.qmd
appendices:
- chapters/appendices/solutions.qmd # online only
Expand Down

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions book/chapters/chapter2/data_and_basic_modeling.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -397,6 +397,7 @@ lrn_rpart$param_set
```

The output above is a `r ref("ParamSet", aside = TRUE)` object, supplied by the `r ref_pkg("paradox")` package.
A more detailed introduction of the `paradox` package is provided in @sec-paradox.
These objects provide information on hyperparameters including their name (`id`), data type (`class`), technically valid ranges for hyperparameter values (`lower`, `upper`), the number of levels possible if the data type is categorical (`nlevels`), the default value from the underlying package (`default`), and finally the set value (`value`).
The second column references classes defined in `r ref_pkg("paradox")` that determine the class of the parameter and the possible values it can take.
@tbl-parameters-classes lists the possible hyperparameter types, all of which inherit from `r ref("Domain")`.
Expand Down
4 changes: 3 additions & 1 deletion book/chapters/chapter4/hyperparameter_optimization.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ These will usually be 'technical' (or 'control') parameters that *provide inform

For numeric hyperparameters (we will explore others later) one must specify the bounds to tune over.
We do this by constructing a learner and using `r ref("to_tune()")` to set the lower and upper limits for the parameters we want to tune.
This function allows us to *mark* the hyperparameter as requiring tuning in the specified range.
This function allows us to *mark* the hyperparameter as requiring tuning in the specified range. Further information on the `r ref("to_tune()")`-function can be found in @sec-paradox-creation-tuning-paramset-from-learner.

```{r hyperparameter_optimization-003}
learner = lrn("classif.svm",
Expand Down Expand Up @@ -699,6 +699,8 @@ This function takes named arguments of class `r ref("Domain")`, which can be cre

: `r ref("Domain")` Constructors and their resulting `r ref("Domain")`. {#tbl-paradox-define}

More information on advanced hyperparameter specifications using the `paradox`-package will be given in @sec-paradox.

As a simple example, let us look at how to create a search space to tune `cost` and `gamma` again:

```{r hyperparameter_optimization-037}
Expand Down
3 changes: 2 additions & 1 deletion book/common/authors.csv
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,6 @@ Florian Pfisterer,Ludwig-Maximilians-Universität München,Pfistererf@googlemail
Sebastian Fischer,"Ludwig-Maximilians-Universität München, and Munich Center for Machine Learning (MCML)",[email protected],0000-0002-9609-3197
Janek Thomas,"Ludwig-Maximilians-Universität München, and Munich Center for Machine Learning (MCML), and Essential Data Science Training GmbH",[email protected],0000-0003-4511-6245
Susanne Dandl,"Ludwig-Maximilians-Universität München, and Munich Center for Machine Learning (MCML)",[email protected],0000-0003-4324-4163
John Zobolas,"Institute for Cancer Research, Oslo University Hospital",[email protected],0000-0002-3609-8674
John Zobolas,"Institute for Cancer Research, Oslo University Hospital",[email protected],0000-0002-3609-8674
Lona Koers,"Ludwig-Maximilians-Universität München",[email protected],
Alexander Winterstetter,"Ludwig-Maximilians-Universität München",[email protected],
11 changes: 6 additions & 5 deletions book/common/chap_auths.csv
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,9 @@ Chapter Number,Title,Authors
8,Non-sequential Pipelines and Tuning,"Martin Binder, Florian Pfisterer, Marc Becker, Marvin N. Wright"
9,Preprocessing,Janek Thomas
10,Advanced Technical Aspects of mlr3,"Michel Lang, Sebastian Fischer, Raphael Sonabend"
11,Large-Scale Benchmarking,"Sebastian Fischer, Michel Lang, Marc Becker"
12,Model Interpretation,"Susanne Dandl, Przemysław Biecek, Giuseppe Casalicchio, Marvin N. Wright"
13,Beyond Regression and Classification,"Raphael Sonabend, Patrick Schratz, Damir Pulatov, John Zobolas, Lona Koers"
14,Algorithmic Fairness,Florian Pfisterer
15,"Predict Sets, Validation and Internal Tuning (+)", Sebastian Fischer
11,Advanced Hyperparameter Specification using paradox,"Martin Binder, Sebastian Fischer, Michel Lang, Alexander Winterstetter"
12,Large-Scale Benchmarking,"Sebastian Fischer, Michel Lang, Marc Becker"
13,Model Interpretation,"Susanne Dandl, Przemysław Biecek, Giuseppe Casalicchio, Marvin N. Wright"
14,Beyond Regression and Classification,"Raphael Sonabend, Patrick Schratz, Damir Pulatov, John Zobolas, Lona Koers"
15,Algorithmic Fairness,Florian Pfisterer
16,"Predict Sets, Validation and Internal Tuning (+)", Sebastian Fischer
1 change: 1 addition & 0 deletions book/index.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ Bernd Bischl, Raphael Sonabend, Lars Kotthoff, Michel Lang
- Sebastian Fischer
- Natalie Foss
- Lars Kotthoff
- Alexander Winterstetter
:::

::: {.column width="30%"}
Expand Down