Skip to content

Releases: tidymodels/dials

dials 1.3.0

30 Jul 11:22
b20cb79
Compare
Choose a tag to compare

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() and hidden_units_2(), for use with brulee::brulee_mlp_two_layer() (#339).

Deprecations

  • grid_max_entropy() and grid_latin_hypercube() are deprecated in favor of grid_space_filling() (#332).

  • pull_dials_object() has been removed (#344).

  • The grid_*() methods for workflow objects have been removed (#344).

  • The deprecation of the default argument to the constructors new_quant_param() and new_qual_param() has been escalated to an error (#344).

dials 1.2.1

22 Feb 13:38
Compare
Choose a tag to compare

New parameters

  • Added initial_umap() and target_weight() for recipes::step_umap() (#324).

Other changes

  • Improving styling of error messages by switching to cli (#315, #317, #321).

  • Update usage of tranformation functions from the scales package to their new names and require the corresponding version v1.3.0 (#323).

dials 1.2.0

03 Apr 18:09
e14d8f1
Compare
Choose a tag to compare

New parameters

  • Added trim_amount() for recipes::step_impute_mean().

  • Added num_runs() for recipes::step_nnmf() (#281).

  • Added harmonic_frequency() for recipes::step_harmonic() (#281).

  • Added validation_set_prop() for embed::step_discretize_xgb() (#280).

Other changes

  • Deprecation of pull_dials_object() has been escalated to an error. Please use extract_parameter_dials() instead (#265).

  • The methods grid_regular.workflow(), grid_random.workflow(), grid_max_entropy.workflow(), and grid_latin_hypercube.workflow() have been deprecated (#302).

  • The constructor functions for single parameters, new_quant_param() and new_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

05 Nov 15:08
f533808
Compare
Choose a tag to compare

New parameters

  • Added learning rate scheduler parameters rate_decay(), rate_initial(),
    rate_largest(), rate_reduction(), rate_schedule(), rate_step_size(),
    and rate_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 default argument to the constructors new_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

14 Jun 12:11
5543974
Compare
Choose a tag to compare
  • The new parameter mtry_prop() is a variation on mtry() 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() and conditional_test_type() now work with the
    partykit engine rather than the party engine (#224).

  • new_quant_param() no longer requires range and inclusive if values is
    supplied (#87).

dials 0.1.1

06 Apr 16:41
9c5069d
Compare
Choose a tag to compare
  • The Chicago data set was removed. It can be found in the modeldata package.

dials 0.1.0

31 Jan 20:51
5594d69
Compare
Choose a tag to compare

New parameters

  • summary_stat() is a new parameter for use in recipes::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 to parsnip::bart().

  • num_knots() and survival_link() are new parameters for spline survival
    models (@mattwarkentin, #195).

  • vocabulary_size() is a new parameter used in
    textrecipes::step_tokenize_sentencepiece() and textrecipes::step_tokenize_bpe().

Other changes

  • The new extract_parameter_dials() method supersedes pull_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.

dials 0.0.10

10 Sep 12:57
50cc89c
Compare
Choose a tag to compare

New parameters

  • adjust_deg_free() and select_features() for generalized additive models.

  • conditional_min_criterion, conditional_test_statistic,
    conditional_test_type for models with the party engine.

  • diagonal_covariance(), regularization_method(), shrinkage_correlation(),
    shrinkage_frequencies(), and shrinkage_variance() for linear and
    quadratic discriminant analysis.

  • penalty_L1(), penalty_L2(), and scale_pos_weight() for boosted trees
    with the xgboost engine (@joeycouse, #176).

  • prior_mixture_threshold() and prior_slab_dispersion() for sparse PCA.

  • stop_iter() for early stopping.

Other changes

dials 0.0.9

16 Sep 17:18
Compare
Choose a tag to compare
  • Quantitative parameters now print the number of possible values if they have been set with value_set() (@kmdupr33, #138).

  • The print() method for parameters() has changed to be more clear.

  • A new function, pull_dials_object() was also added.

  • Duplicate parameter combinations are now automatically removed from grid results.

  • The range for epochs() was change to start at 10 iterations instead of 1.

  • The lower range for spline_degree() now starts at 1 instead of 3.

  • The upper range for cost() now goes to 2^5 instead of 2^-1.

dials 0.0.8

08 Jul 21:42
Compare
Choose a tag to compare
  • A number of new parameter objects associated with engine-specific functions were added for engines "ranger", "randomForest", "earth" and "C5.0".