Releases: tidymodels/dials
dials 1.4.2
-
prop_terms()is a new parameter object used for recipes that do supervised feature selection (#395). -
upper_limit()andlower_limit()now have ranges that are inclusive of the endpoints, unless the endpoint is infinite (#396). -
batch_size()now has a specific default parameter range instead of an unknown default range.get_batch_sizes()is deprecated (#398).
dials 1.4.1
dials 1.4.0
-
For space-filling designs for
$p$ parameters, there is a higher likelihood of finding a space-filling design for1 < size <= p. Also, single-point designs now default to a random grid (#363). -
value_seq()andvalue_sample()now respect theinclusiveargument of quantitative parameters (#347). -
The constructors,
new_*_parameter(), now label unlabeled parameter (i.e., constructed withlabel = NULL) as such (#349). -
All messages, warnings and errors has been translated to use {cli} package (#311).
-
parameters.list()now enforces the unused ellipsis to be empty (#378). -
Added three new parameters for use in postprocessing in the tailor package (#357).
-
buffer()sets the distance on either side of a classification threshold
within which predictions are considered equivocal in
tailor::adjust_equivocal_zone(). -
lower_limit()andupper_limit()sets the ranges for
numeric predictions intailor::adjust_numeric_range().
-
Breaking changes
-
The
grid_*()functions now error instead of warn when provided with the wrong argument to control the grid size. Sogrid_space_filling(),grid_random(),grid_max_entropy(), andgrid_latin_hypercube()now error if used with alevelsargument andgrid_regular()now errors if used with asizeargument (#368). -
The
"optimal"option for theweight_func()parameter has been removed since it is choosing the optimal value based on the resubstition error (#370). -
When constructing integer-valued parameters with a range of two consecutive values the
inclusiveargument needs to be set toc(TRUE, TRUE)to leave at least two values to sample from (#373).
dials 1.3.0
Improvements
-
The space-filling design functionality was expanded to include several new types of designs: Audze-Eglais, max/min L1, max/min L2, and uniform. These are all pre-computed designs accessed from the sfd package (#329).
-
A new function is used to access all of the space-filling designs called
grid_space_filling()(#329). -
Two new parameters,
activation_2()andhidden_units_2(), for use withbrulee::brulee_mlp_two_layer()(#339).
Deprecations
-
grid_max_entropy()andgrid_latin_hypercube()are deprecated in favor ofgrid_space_filling()(#332). -
pull_dials_object()has been removed (#344). -
The
grid_*()methods forworkflowobjects have been removed (#344). -
The deprecation of the
defaultargument to the constructorsnew_quant_param()andnew_qual_param()has been escalated to an error (#344).
dials 1.2.1
New parameters
- Added
initial_umap()andtarget_weight()forrecipes::step_umap()(#324).
Other changes
dials 1.2.0
New parameters
-
Added
trim_amount()forrecipes::step_impute_mean(). -
Added
num_runs()forrecipes::step_nnmf()(#281). -
Added
harmonic_frequency()forrecipes::step_harmonic()(#281). -
Added
validation_set_prop()forembed::step_discretize_xgb()(#280).
Other changes
-
Deprecation of
pull_dials_object()has been escalated to an error. Please useextract_parameter_dials()instead (#265). -
The methods
grid_regular.workflow(),grid_random.workflow(),grid_max_entropy.workflow(), andgrid_latin_hypercube.workflow()have been deprecated (#302). -
The constructor functions for single parameters,
new_quant_param()andnew_qual_param(), as well as for parameter sets,parameters_constr(), now have improved handling of the call shown in error messages (#291, #295). -
The constructor for parameter sets,
parameters_constr(), now checks that all inputs have the same length (#295).
dials 1.1.0
New parameters
-
Added learning rate scheduler parameters
rate_decay(),rate_initial(),
rate_largest(),rate_reduction(),rate_schedule(),rate_step_size(),
andrate_steps()for the new brulee functions (#253). -
Added
num_clusters()parameter for tidyclust models (#259). -
Added
num_leaves()parameter for lightbgm models (@joeycouse, #256).
Other changes
-
The
defaultargument to the constructorsnew_quant_param()and
new_qual_param()is deprecated.value_seq()now uses the same logic to
generate a sequence of parameter values regardless of how long that sequence
is (#153, #229). -
prior_terminal_node_expo()for Bayesian adaptive regression trees (BART) now
defaults to a range greater than 1 to limit explosive tree growth (#251). -
The label for
spline_degree()was improved.
dials 1.0.0
-
The new parameter
mtry_prop()is a variation onmtry()where the value is
interpreted as the proportion (rather than the count) of predictors that will
be randomly sampled at each split (#233). -
conditional_test_statistic()andconditional_test_type()now work with the
partykit engine rather than the party engine (#224). -
new_quant_param()no longer requiresrangeandinclusiveifvaluesis
supplied (#87).
dials 0.1.1
- The
Chicagodata set was removed. It can be found in themodeldatapackage.
dials 0.1.0
New parameters
-
summary_stat()is a new parameter for use inrecipes::step_window(). -
A general
class_weights()parameter was added for imbalanced models. -
prior_outcome_range(),prior_terminal_node_coef(), and
prior_terminal_node_expo()are new parameters for prior distribution
specification related toparsnip::bart(). -
num_knots()andsurvival_link()are new parameters for spline survival
models (@mattwarkentin, #195). -
vocabulary_size()is a new parameter used in
textrecipes::step_tokenize_sentencepiece()andtextrecipes::step_tokenize_bpe().
Other changes
-
The new
extract_parameter_dials()method supersedespull_dials_object()
which has been deprecated. -
activation()now supports values of"tanh". -
New link to article explaining how to make custom parameter objects was added
to the pkgdown site.