mlr-org / bbotk

Black-box optimization framework for R.
https://bbotk.mlr-org.com
GNU Lesser General Public License v3.0
21 stars 9 forks source link

Show terminator parameters in tuning instance printer #229

Closed mb706 closed 5 months ago

mb706 commented 6 months ago
print(t_inst)
#> <TuningInstanceSingleCrit>
#> * State:  Not optimized
#> * Objective: <ObjectiveTuning:foo_on_german_credit>
#> * Search Space:
#>          id    class lower upper nlevels
#>      <char>   <char> <num> <num>   <num>
#> 1: maxdepth ParamInt     1     5       5
#> * Terminator: <TerminatorEvals>
term
#> <TerminatorEvals>: Number of Evaluation
#> * Parameters: n_evals=10, k=0

Possibly just call the terminator's printer at the point where the terminator is shown for the instance.

be-marc commented 5 months ago

Done