finetune 1.2.1
CRAN release: 2025-05-20
Maintenance release required by CRAN.
Transition from the magrittr pipe to the base R pipe.
finetune 1.2.0
CRAN release: 2024-03-21
New Features
finetune now fully supports models in the “censored regression” mode. These models can be fit, tuned, and evaluated like the regression and classification modes. tidymodels.org has more information and tutorials on how to work with survival analysis models.
Improved error message from
tune_sim_anneal()when values in the suppliedparam_infodo not encompass all values evaluated in theinitialgrid. This most often happens when a user mistakenly supplies different parameter sets to the function that generated the initial results andtune_sim_anneal().autoplot()methods for racing objects will now use integers in x-axis breaks (#75).Enabling the
verbose_elimcontrol option fortune_race_anova()will now additionally introduce a message confirming that the function is evaluating against the burn-in resamples.Updates based on the new version of tune, primarily for survival analysis models (#104).
Bug Fixes
Fixed bug where
tune_sim_anneal()would fail when supplied parameters needing finalization. The function will now finalize needed parameter ranges internally (#39).Fixed bug where packages specified in
control_race(pkgs)were not actually loaded intune_race_anova()(#74).
Breaking Change
- Ellipses (…) are now used consistently in the package to require optional arguments to be named.
collect_predictions(),collect_metrics()andshow_best()methods previously had ellipses at the end of the function signature that have been moved to follow the last argument without a default value. Optional arguments previously passed by position will now error informatively prompting them to be named (#105).
finetune 1.1.0
CRAN release: 2023-04-19
Various minor changes to keep up with developments in the tune and dplyr packages (#60) (#62) (#67) (#68).
Corrects
.configoutput withsave_pred = TRUEintune_sim_anneal(). The function previously outputted a constantModel1_Preprocessor1in the.predictionsslot, and now provides.configvalues that align with those in.metrics(#57).An
eval_timeattribute was added to tune objects produced by finetune.
finetune 1.0.1
CRAN release: 2022-10-12
For racing:
collect_metrics()andcollect_predictions()have a'complete'argument that only returns results for model configurations that were fully resampled.select_best()andshow_best()now only show results for model configurations that were fully resampled.tune_race_anova(),tune_race_win_loss(), andtune_sim_anneal()no longer error ifcontrolargument isn’t a the correspondingcontrol_*()object. Will work as long as the object passed tocontrolincludes the same elements as the requiredcontrol_*()object.The
control_sim_anneal()got a new argumentverbose_iterthat is used to control the verbosity of the iterative calculations. This change means that theverboseargument is being passed totune_grid()to control its verbosity.
finetune 1.0.0
CRAN release: 2022-09-05
An informative error is given when there are not enough resamples for racing (#33).
tune_sim_anneal()was not passing all arguments totune_grid()(#40).
finetune 0.2.0
CRAN release: 2022-03-24
Maintenance release for CRAN requirements.
Use
extract_parameter_set_dials()instead ofparameters()to get parameter sets.Removed some pillar-related S3 methods that currently live in tune.
finetune 0.1.1
CRAN release: 2022-02-21
-
tune_sim_anneal()only overwrites tuning parameter information when they originally contain unknowns.
finetune 0.1.0
CRAN release: 2021-07-21
A check was added to make sure that
lme4orBradleyTerry2are installed (#8)Added
pillarmethods for formattingtuneobjects in list columns.Fixed bug in
random_integer_neighbor_calc()to keep values inside range (#10)tune_sim_anneal()now retains a finalized parameter set and replaces any existing parameter set that was not finalized (#14)A bug in win/loss racing was fixed for cases when one tuning parameter had results that were so bad that it broke the Bradley-Terry model (#7)
