tidypredict
tidypredict copied to clipboard
Run predictions inside the database
We see [this snapshot test](https://github.com/tidymodels/tidypredict/blob/main/tests/testthat/_snaps/earth.md) right now: ``` Code tidypredict_fit(pm) Output list() ``` I [see that `tidypredict_fit(model)` and `tidypredict_sql(model, dbplyr::simulate_odbc())` both work](https://tidypredict.tidymodels.org/articles/mars.html), but it seems like `model %>% parse_model() %>%...
We attempted to transition some calls to `expect_silent` to `expect_snapshot` in conversion to testthat 3e in #105, but came across some inconsistencies in snapshots for `glm`, `lm` `ranger` tests. The...
This pull requests adds support for count:poisson and reg:tweedie, fixing issue 62 (https://github.com/tidymodels/tidypredict/issues/62)
```r library(randomForest); library(tidypredict); library(dbplyr); library(dplyr); head(iris[,1:4]); model = 5.7 AND `Sepal.Width` < 2.75 AND `Petal.Length` >= 4.6) THEN (NULL) WHEN (`Petal.Width` < 0.65 AND `Sepal.Width` < 2.55 AND `Sepal.Width` <...
I noticed `tidypredict_fit` is fine with multiple interactions in formulas, but for some reason gives errors for `:` in isolated x:y interactions of models that have dropped terms. Here is...
Hi there. I seem to recall early on that tidypredict had a specified list of supported db backends? (Though I could be misremembering) I see the documentation refers to dbplyr...
It appears that tidypredict_fit() and tidypredict_sql() are returned a parsed model that has the Gaussian coefficients instead of the Binomial coefficients when a MARS model is fit using the earth...
Hello, thanks for your work on this package, it is very exciting! I was trying to to follow the docs on using a `ranger` RF model, but it seems to...
Hi, please be aware of this issue in `ranger` as this directly affects the output of the production code in a not so good way. https://github.com/imbs-hl/ranger/issues/536 Thank you!
I choose dataset `mtcars` to make a reproducible example below. ``` r library(xgboost) #> Warning: 程辑包'xgboost'是用R版本3.6.1 来建造的 library(tidyverse) #> Registered S3 methods overwritten by 'ggplot2': #> method from #> [.quosures...