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

Categorical features #41

Closed
Taakn opened this issue Mar 15, 2018 · 3 comments
Closed

Categorical features #41

Taakn opened this issue Mar 15, 2018 · 3 comments

Comments

@Taakn
Copy link

Taakn commented Mar 15, 2018

Hello,

More of a question than an issue, but how do you handle categorical features?

Also seems like y needs to be an int? Otherwise if I leave it as float I am getting an error.

Thanks!

@SymbolicSquared
Copy link

For categorical features you will need to vectorize/dummy code, just like you would if you plan to use any classifier in sklearn. I suggest pandas get_dummies method.

@ThomasBury
Copy link

Hi,

regarding categorical:

@danielhomola
Copy link
Collaborator

Submit a PR with tests and I'll have a look.

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

4 participants