paradox icon indicating copy to clipboard operation
paradox copied to clipboard

tunetoken format printer should give more info

Open mb706 opened this issue 9 months ago • 0 comments

lrn("classif.rpart", minbucket = to_tune(2, 10))$param_set
#> <ParamSet(10)>
#>                 id    class lower upper nlevels        default               value
#>             <char>   <char> <num> <num>   <num>         <list>              <list>
#>  1:             cp ParamDbl     0     1     Inf           0.01                    
#>  2:     keep_model ParamLgl    NA    NA       2          FALSE                    
#>  3:     maxcompete ParamInt     0   Inf     Inf              4                    
#>  4:       maxdepth ParamInt     1    30      30             30                    
#>  5:   maxsurrogate ParamInt     0   Inf     Inf              5                    
#>  6:      minbucket ParamInt     1   Inf     Inf <NoDefault[0]> <RangeTuneToken[2]>
#>  7:       minsplit ParamInt     1   Inf     Inf             20                    
#>  8: surrogatestyle ParamInt     0     1       2              0                    
#>  9:   usesurrogate ParamInt     0     2       3              2                    
#> 10:           xval ParamInt     0   Inf     Inf             10                   0

Instead, show <to_tune(2, 10)> or something like that, ideally also with logscale info

mb706 avatar May 03 '24 17:05 mb706