-
Notifications
You must be signed in to change notification settings - Fork 12
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 input support for lolopy #196
Comments
Could you provide a stack trace? We do have support for using lolo's random forest for classification with RandomForestClassifer |
Just to clarify, I meant using a categorical as one of the input dimensions. For example: for |
Oh, I misunderstood your question, sorry! Correct, |
Ok, thanks for clarifying! I don't really know the scala side. There is an encoder written by @maxhutch. Happy to try to (eventually) figure it out and submit a PR to add support to lolopy though. |
@WardLT it handles them seamlessly by encoding them into The trick is going to be sending a |
I might be mistaken, but lolopy does not seem to support categorical inputs. Input of categorical features fails in utils.py with an attempted cast of X to np.float64. @WardLT
If there's a set way of providing categoricals to lolopy, it'd be useful to document or provide an example.
The text was updated successfully, but these errors were encountered: