Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
20 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
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.

802 changes: 802 additions & 0 deletions book/chapters/chapter11/indepth.Rmd

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
Loading