-
Notifications
You must be signed in to change notification settings - Fork 2
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
Data set failing using OR-Tools #1
Comments
Thank you for your feedback @torressa ! I've been able to reproduce this error. It was due to an edge case where all training data belongs to the same class - and the resulting trees have a single leaf node (and no internal node). I fixed that in our code, the error should no longer appear! (however, note that in such a case the forest brings no valuable information for reconstruction) Regarding the fact that we include the model-building time in the returned I'm closing this issue now as the problem is fixed, but don't hesitate to reach out for any additional comment/feedback! |
Cool! Thanks for the clarification! |
Running
data_extraction_from_rf_experiments.py
withmethod = "cp-sat"
fails on theadult
dataset as follows:I have not touched the one-hot encoding and it works for the other 2 datasets.
Additionally, as a general comment, model-building time in your experiments is part of the
solve_duration_time
, maybe this should be considered as a separate timer as it doesn't reflect the solver's ability to solve the problem but the speed of the API (which can of course vary depending on the implementation and the language used).The text was updated successfully, but these errors were encountered: