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 requiresrange
andinclusive
ifvalues
is supplied (#87).
dials 0.1.1
CRAN release: 2022-04-06
- The
Chicago
data set was removed. It can be found in themodeldata
package.
dials 0.1.0
CRAN release: 2022-01-31
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()
, andprior_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 intextrecipes::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.
dials 0.0.10
CRAN release: 2021-09-10
New parameters
adjust_deg_free()
andselect_features()
for generalized additive models.conditional_min_criterion
,conditional_test_statistic
,conditional_test_type
for models with theparty
engine.diagonal_covariance()
,regularization_method()
,shrinkage_correlation()
,shrinkage_frequencies()
, andshrinkage_variance()
for linear and quadratic discriminant analysis.penalty_L1()
,penalty_L2()
, andscale_pos_weight()
for boosted trees with thexgboost
engine (@joeycouse, #176).prior_mixture_threshold()
andprior_slab_dispersion()
for sparse PCA.stop_iter()
for early stopping.
Other changes
Re-licensed package from GPL-2 to MIT. See consent from copyright holders here.
param_set()
, scheduled for removal in version 0.0.5, is now removed.
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 forparameters()
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 to2^5
instead of2^-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 fortune_grid()
can now handle a named vector, to account for differences in ordering.
Breaking changes
The range of
dist_power()
was changed so that the lower limit is 1.The deprecation period for
margin()
is over; please usesvm_margin()
instead.
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()
tosvm_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:
- Parameters
smoothness()
was added.
Other changes
param_set()
is being renamedparameters()
. 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 be2^8
to2^12
.The range for
max_tokens()
was changed to be 0 to 1000.
Breaking changes
-
offset()
has been renamedkernel_offset()
to avoid name conflicts.
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 therange
and thetrans
. 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()
andneighbors()
were changed.update.param_set()
now takes multiple named arguments.
Other changes
Two functions for space-filling designs were added:
grid_max_entropy()
andgrid_latin_hypercube()
.A data set was added for modeling ridership on the Chicago L trains.
New parameter functions:
- Parameters
spline_degree()
,over_ratio()
,under_ratio()
,freq_cut()
,unique_cut()
,num_breaks()
,min_unique()
,num_hash()
,signed_hash()
,sample_prop()
,window_size()
,min_dist()
, anddegree_int()
were added.
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 topenalty
in a few models to be consistent with this change.batch_size
andthreshold
were added.Added a set of parameters for the
textrecipes
package issue 16.