tune
tune copied to clipboard
Tools for tidy parameter tuning
Related to https://github.com/tidymodels/workflows/pull/225, https://github.com/tidymodels/container/pull/12. This PR proposes resampling calibrators using an "internal split"—it's _very_ scrappy at the moment and intended only for internal testing. ``` r library(tidymodels) library(container) library(probably) #>...
In `tune_grid_loop_iter()`, we pass `split` to several error handling functions that only use the split to generate informative error messages, i.e. with `labels(split)`. We should instead just write: ```r split_label
Prepare for release: * [x] `git pull` * [x] Check [current CRAN check results](https://cran.rstudio.org/web/checks/check_results_tune.html) * [x] [Polish NEWS](https://style.tidyverse.org/news.html#news-release) * [x] `urlchecker::url_check()` * [x] `devtools::build_readme()` * [x] `devtools::check(remote = TRUE, manual...
## The problem When fitting models with weights in `tidymodels`, the `collect_metrics` does not take into account weights when calculating certain metrics, including `concordance_survival.` The `concordance_survival` function has an argument...
In #633, we enabled tune to deal with list-columns in the grid, in order to allow people to use a custom grid to tune lower-level arguments. The example there was...
Pretty much what it says in the title. Sometimes I have a suspicion that the computational time is related to one of the hyperparameter and it would be neat if...
We recently discussed possible alternative interfaces for defining information on tuning parameters. Changes to make this happen would happen in many packages, though the main context where folks would encounter...
Currently, tune uses [foreach](https://cran.r-project.org/web/packages/foreach/vignettes/foreach.html) to facilitate parallel computing. As a group, we've discussed gradually deprecating our support for foreach in favor of the [futureverse](https://www.futureverse.org/packages-overview.html). The big ideas: * future does...
Much of tune's core internals were written >4yrs ago, before the introduction/maturation of more principled tooling for checking, logging, and erroring from cli and rlang, and before the tidymodels packages...
The trace back for dropping into `tune_grid_loop_iter()`, the layer of the grid code path that, for a given resample, carries out the preprocessor and model fitting, looks something like this:...