@@ -9,7 +9,6 @@ Package website: [release](https://mlr3tuning.mlr-org.com/) \|
99[ ![ r-cmd-check] ( https://github.com/mlr-org/mlr3tuning/actions/workflows/r-cmd-check.yml/badge.svg )] ( https://github.com/mlr-org/mlr3tuning/actions/workflows/r-cmd-check.yml )
1010[ ![ CRAN
1111Status] ( https://www.r-pkg.org/badges/version-ago/mlr3tuning )] ( https://cran.r-project.org/package=mlr3tuning )
12- [ ![ StackOverflow] ( https://img.shields.io/badge/stackoverflow-mlr3-orange.svg )] ( https://stackoverflow.com/questions/tagged/mlr3 )
1312[ ![ Mattermost] ( https://img.shields.io/badge/chat-mattermost-orange.svg )] ( https://lmmisld-lmu-stats-slds.srv.mwn.de/mlr_invite/ )
1413<!-- badges: end -->
1514
@@ -62,6 +61,8 @@ There are several sections about hyperparameter optimization in the
6261- Simultaneously optimize hyperparameters and use [ early
6362 stopping] ( https://mlr3book.mlr-org.com/chapters/chapter15/predsets_valid_inttune.html )
6463 with XGBoost.
64+ - [ Automate] ( https://mlr3book.mlr-org.com/chapters/chapter4/hyperparameter_optimization.html#sec-autotuner )
65+ the tuning.
6566
6667The [ gallery] ( https://mlr-org.com/gallery-all-optimization.html )
6768features a collection of case studies and demos about optimization.
@@ -128,14 +129,15 @@ instance = ti(
128129instance
129130```
130131
131- ## <TuningInstanceBatchSingleCrit>
132- ## * State: Not optimized
133- ## * Objective: <ObjectiveTuningBatch:classif.svm_on_sonar>
134- ## * Search Space:
132+ ##
133+ ## ── <TuningInstanceBatchSingleCrit> ─────────────────────────────────────────────────────────────────
134+ ## • State: Not optimized
135+ ## • Objective: <ObjectiveTuningBatch>
136+ ## • Search Space:
135137 ## id class lower upper nlevels
136138 ## 1: cost ParamDbl -11.51293 11.51293 Inf
137139 ## 2: gamma ParamDbl -11.51293 11.51293 Inf
138- ## * Terminator: <TerminatorNone>
140+ ## • Terminator: <TerminatorNone>
139141
140142We select a simple grid search as the optimization algorithm.
141143
@@ -144,11 +146,12 @@ tuner = tnr("grid_search", resolution = 5)
144146tuner
145147```
146148
147- ## <TunerBatchGridSearch>: Grid Search
148- ## * Parameters: batch_size=1, resolution=5
149- ## * Parameter classes: ParamLgl, ParamInt, ParamDbl, ParamFct
150- ## * Properties: dependencies, single-crit, multi-crit
151- ## * Packages: mlr3tuning, bbotk
149+ ##
150+ ## ── <TunerBatchGridSearch>: Grid Search ─────────────────────────────────────────────────────────────
151+ ## • Parameters: batch_size=1, resolution=5
152+ ## • Parameter classes: <ParamLgl>, <ParamInt>, <ParamDbl>, and <ParamFct>
153+ ## • Properties: dependencies, single-crit, and multi-crit
154+ ## • Packages: mlr3tuning and bbotk
152155
153156To start the tuning, we simply pass the tuning instance to the tuner.
154157
0 commit comments