Is there a way to get the standard errors and p-values for logistic regression in tidy models?
I can get the coefficients by the following code below.. but I want to calculate odds ratios for each feature and I will need the standard errors as well..
glm.fit <-
logistic_reg(mode = "classification") %>%
set_engine(engine = "glm") %>%
fit(Species ~ ., data = iris)
glm.fit$fit$coefficients
Usually you can do this by calling summary()
on a glm object, but I'm trying to use tidymodels here.