Skip to content

dials 1.3.0

CRAN release: 2024-07-30

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

dials 1.2.1

CRAN release: 2024-02-22

New parameters

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

CRAN release: 2023-04-03

New parameters

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

CRAN release: 2022-11-04

New parameters

Other changes

dials 1.0.0

CRAN release: 2022-06-14

dials 0.1.1

CRAN release: 2022-04-06

  • The Chicago data set was removed. It can be found in the modeldata package.

dials 0.1.0

CRAN release: 2022-01-31

New parameters

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

CRAN release: 2021-09-10

New parameters

Other changes

dials 0.0.9

CRAN release: 2020-09-16

  • 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

CRAN release: 2020-07-08

  • A number of new parameter objects associated with engine-specific functions were added for engines “ranger”, “randomForest”, “earth” and “C5.0”.

dials 0.0.7

CRAN release: 2020-06-10

  • The grid_*() functions no longer generate subclassed tibbles.

  • predictor_prop() was added.

  • The levels argument for tune_grid() can now handle a named vector, to account for differences in ordering.

Breaking changes

dials 0.0.6

CRAN release: 2020-04-03

  • Quick bug fix release related to range checks in 0.0.5. The check is more forgiving when the required type is integer and a double is provided.

dials 0.0.5

CRAN release: 2020-04-01

  • When kept in the original units, a parameter’s range must now be the same data type as the parameter.

  • Renamed margin() to svm_margin() (@gabrielodom and @gralgomez, #85)

  • A bug in space filling designs with qualitative parameters was fixed (#94)

  • A better error message was created when grids are used with parameters sets that contain parameters that require finalization (#99)

  • Space-filling desings now share the same attributes as other grid objects (#100)

  • The range for sample_frac() was fixed (#96)

dials 0.0.4

CRAN release: 2019-12-02

New parameter functions:

Other changes

  • param_set() is being renamed parameters(). The old name implied that you only use it to set parameters (say from a recipe or model rather than de novo). param_set() will be available until version 0.0.5.

  • The range for num_hash() was increase to be 2^8 to 2^12.

  • The range for max_tokens() was changed to be 0 to 1000.

Breaking changes

dials 0.0.3

CRAN release: 2019-10-01

Breaking changes

  • All parameter objects are now parameter functions. For example, the pre-configured object mtry is now a function, mtry(), with arguments for the range and the trans. This provides greater flexibility in parameter creation, and should feel more natural.

  • deg_free() erroneously produced real values; integers are now returned.

  • Default ranges were changed for learn_rate() and neighbors() were changed.

  • update.param_set() now takes multiple named arguments.

Other changes

dials 0.0.2

CRAN release: 2018-12-09

  • Parameter objects now contain code to finalize their values and a number of helper functions for certain data-specific parameters. A force option can be used to avoid updating the values.

  • Parameter objects are printed differently inside of tibbles.

  • regularization was changed to penalty in a few models to be consistent with this change.

  • batch_size and threshold were added.

  • Added a set of parameters for the textrecipes package issue 16.

dials 0.0.1

CRAN release: 2018-08-13

  • First CRAN version