Simon P. Couch

Results 151 issues of Simon P. Couch

In `fit.workflow()`, we can know whether a model fit will fail using `parsnip::spec_is_possible()`. Calling this before fitting the preprocessor would alleviate the pain of fitting a computationally intensive preprocessor, only...

feature

> I'm wondering if we should adapt the name slightly to make it more obvious that this the _data_ for calibration, rather than, say, the method. `data_calibration`, `calibration_data`, `calibration_set`? _Originally...

``` r library(tidymodels) model % set_engine("nnet") %>% set_mode("classification") set.seed(1) res → A | error: Assigned data `orig_rows` must be compatible with existing data. #> ✖ Existing data has 1 row....

bug

**Heads up--this PR is not yet functional!** Enables tuning arguments in tailor postprocessors. Works in some cases, but still fails most others. Importantly, this disables the submodel trick right now...

Closes #955. A proof of concept for cutting out duplicated preprocessor fits for iterative tuning approaches. A bit of a contrived example, but on `main`: ``` r library(tidymodels) library(embed) hotel_rates$arrival_date...

Not intended to be merged—just to confirm incoming tune changes work as intended.

``` r library(tidymodels) library(agua) model % set_engine("h2o_gbm") %>% set_mode("classification") set.seed(1) res i Creating pre-processing data to finalize unknown parameter: sample_size #> → A | error: `sample_size` must be a number...

First noted by @bbolker in #1550. In: https://github.com/tidyverse/dbplyr/blob/1abf1d6995176e0f208d9ec02cbeb245cc0677d6/vignettes/translation-function.Rmd#L49-L56 The [pkgdown site shows](https://dbplyr.tidyverse.org/articles/translation-function.html#basic-differences): ```r # In SQLite variable names are escaped by double quotes: translate_sql(x, con = con) #> `x` ```

Prepare for release: * [x] `git pull` * [x] Check [current CRAN check results](https://cran.rstudio.org/web/checks/check_results_infer.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...