-
Notifications
You must be signed in to change notification settings - Fork 332
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
list index out of range for regressor with y in {0,1} #49
Comments
hi. Seems like X_train, y_train are a bit out of sync sizewise based upon that error msg. |
Thank you for the answer!
|
ah. are there more than 10 classes? Can't do more than that. |
No, that's the fact, first I though the error was because I was using many classes, but actually in this case there are only two classes. |
Weird. Any chance you could send me a small data set that reproduces this? |
Heh, don't you want a classifier here not a regressor? |
I think you want:
Regardless, I fixed so {0,1} doesn't cause crash for regression partitioning :) |
Hi, thank you for your library, I think it's very useful to show the results, specially I like treeviz_bivar_3D , I was trying to compile a code with 2 variables and 1 binary output, but I obtain this error, I'm not sure if it was because the data type:
The text was updated successfully, but these errors were encountered: