tidymodels / dials

Tools for creating tuning parameter values
https://dials.tidymodels.org/
Other
111 stars 26 forks source link

parameter updates for moving to partykit #224

Closed topepo closed 2 years ago

topepo commented 2 years ago

Our previous parameter functions were more geared to party (which as different than partykit)

formals(partykit::ctree_control)[c("teststat", "testtype")]
#> $teststat
#> c("quadratic", "maximum")
#> 
#> $testtype
#> c("Bonferroni", "MonteCarlo", "Univariate", "Teststatistic")
formals(party::ctree_control)[c("teststat", "testtype")]
#> $teststat
#> c("quad", "max")
#> 
#> $testtype
#> c("Bonferroni", "MonteCarlo", "Univariate", "Teststatistic")
dials::conditional_test_statistic()
#> Splitting Function Test Statistic  (qualitative)
#> 2 possible value include:
#> 'max' and 'quad'
dials::conditional_test_type()
#> Splitting Function Test Type  (qualitative)
#> 5 possible value include:
#> 'Bonferroni', 'MonteCarlo', 'Aggregated', 'Univariate' and 'Teststatistic'

Created on 2022-04-11 by the reprex package (v2.0.1)

This PR updates two functions to focus on partykit.

github-actions[bot] commented 2 years ago

This pull request has been automatically locked. If you believe you have found a related problem, please file a new issue (with a reprex: https://reprex.tidyverse.org) and link to this issue.