make parameter for tuning level of significance in instability tests

alpha_par(alpha_min = 0.001, alpha_max = 0.05)

Arguments

alpha_min

An integer specifying the minimum value in the parameter grid

alpha_max

An integer specifying the maximum value in the parameter grid

Value

A quantitative parameter, from {dials} for maxdepth

Examples

dials::grid_max_entropy(
   maxdepth_par(maxdepth_min = 2, maxdepth_max = 5),
   alpha_par(alpha_min = 0.10, alpha_max = 0.001),
   trim_par(trim_min = 0.1, trim_max = 0.3),
   size = 10
   )
#> # A tibble: 10 × 3
#>    maxdepth_par alpha_par trim_par
#>           <int>     <dbl>    <dbl>
#>  1            4   0.0878     0.120
#>  2            4   0.0936     0.300
#>  3            2   0.0311     0.274
#>  4            4   0.0530     0.191
#>  5            2   0.0925     0.281
#>  6            3   0.0911     0.105
#>  7            5   0.0520     0.109
#>  8            3   0.00240    0.259
#>  9            3   0.00430    0.172
#> 10            5   0.0102     0.187