Skip to content

tunetoken format printer should give more info #403

Open
@mb706

Description

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

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions