eddatasci / unrollment_proj

The Unrollment Project: Exploring algorithmic bias in predicting bachelor's degree completion.
5 stars 0 forks source link

E-net classification model #18

Closed wdoyle42 closed 4 years ago

wdoyle42 commented 4 years ago

Function that will generate predicted probabilities from the restructured data using an elastic net logistic regression model.

wdoyle42 commented 4 years ago

Hard to see why to do this, given that it's now just

grad_mod<-
  logistic_reg(penalty=tune(),mixture = tune())%>%
  set_engine("glmnet")

via workflows, per #23

I have now shown flexibility by asking and answering my own question.

btskinner commented 4 years ago

@wdoyle42, rubber duck debugging at its finest.