Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Categorial variable #34

Open
rontomer opened this issue Sep 26, 2018 · 2 comments
Open

Categorial variable #34

rontomer opened this issue Sep 26, 2018 · 2 comments

Comments

@rontomer
Copy link

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

@gokceneraslan
Copy link

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.

@eduard93
Copy link

I also need categorial support

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants