Simon P. Couch

Results 151 issues of Simon P. Couch

In #652 we transitioned the "Benchmarks" README section to a vignette. In the transition to a vignette, I split up chunks so that there's a clear "run all the timings"...

documentation

`usethis::use_standalone("r-lib/rlang", "types-check")` in favor of of home-grown argument checkers.

upkeep

Closes #1083. :) * Adds an argument `engine` to `null_model()` with default `"parsnip"` * Checks inputs with `new_model_spec()` * Tests that result can be fitted without calling `set_engine()` * Uses...

With current dev roxygen2, I see: ``` > devtools::document() ℹ Updating parsnip documentation ℹ Loading parsnip ✖ svm_linear.R:142: S3 method `check_args.svm_linear` needs @export or @exportS3method tag. ✖ survival_reg.R:85: S3 method...

From #996: ``` r library(tidymodels) # custom model info: set_new_model("discrim_mixture") set_model_mode(model = "discrim_mixture", mode = "classification") set_model_engine( "discrim_mixture", mode = "classification", eng = "mda" ) set_dependency("discrim_mixture", eng = "mda", pkg...

PR 1/3 to address tidymodels/tune#652. This PR implements the generic and the `model_fit` method--note that this method isn't dispatched to from the `workflow` method (and thus the `tune_results` method).

`use_standalone("r-lib/rlang", "types-check")` preferred over home-grown argument checkers.

upkeep

A bug in parsnip's machinery means that, if an argument is registered with `set_model_arg()` that's not actually a model argument, that argument will be "protected" when passed to the engine....