We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0b6b85f commit 60457e0Copy full SHA for 60457e0
R/poisson_reg.R
@@ -86,6 +86,7 @@ translate.poisson_reg <- function(x, engine = x$engine, ...) {
86
x <- translate.default(x, engine, ...)
87
88
if (engine == "glmnet") {
89
+ .check_glmnet_penalty_fit(x)
90
# See discussion in https://github.com/tidymodels/parsnip/issues/195
91
x$method$fit$args$lambda <- NULL
92
# Since the `fit` information is gone for the penalty, we need to have an
0 commit comments