Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tunetoken format printer should give more info #403

Open
mb706 opened this issue May 3, 2024 · 0 comments
Open

tunetoken format printer should give more info #403

mb706 opened this issue May 3, 2024 · 0 comments

Comments

@mb706
Copy link
Contributor

mb706 commented May 3, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant