Open rontomer opened 6 years ago
This is what patsy does (https://patsy.readthedocs.io/en/latest/quickstart.html). Adding formula support to glmnet would be very cool, but I don't think this package is maintained any more.
I also need categorial support
Hi, Is there any way to use categorial with glmnet without converting it to dummy variable? In statsmodels for example I can set it as follow
formula = 'Y ~ X1 + X2 + C(X3) + C(X4)
Thanks Tomer