-
-
Notifications
You must be signed in to change notification settings - Fork 14
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
Add quantile-regression forest examples #87
Comments
@adam2392 do you need help with this? |
Yes this would be useful to validate that the quantile stuff was added correctly. You'll have to use the randomforest from the sktree._lib.sklearn rather than from scikitlearn since we added the functionality in the fork. You can also show it with the Obliquerandomforest |
Lmk if you have any questions. |
It would be good to show we can do this for both a normal random forest as well as a oblique random forest. |
I am currently busy with a project! You can assign @SUKI-O. |
@adam2392 |
You are not building correctly prolly |
How are you building |
Another issue that is related is that our API either stores all the training samples in the leaf nodes, or none of them. In
This can be implemented in upstream |
Update: it works with |
You prolly didn't update the GitHub submodule for sklearn perhaps. |
I'm sorry, not sure what to do exactly. You mean I need to pull sklearn in GH? |
Can you copy paste your input and output error message |
Input : |
What are the commands you use? Exact start to end? To build, run test/script/etc. |
Trying to rep the plot from the quantile-forest
The line 6 gives me the error |
Ah I see. You have to import it from the correct namespace: https://docs.neurodata.io/scikit-tree/dev/generated/sktree.RandomForestRegressor.html Also, you won't want to import quantile-forest. The goal of this issue/PR is to develop a set of examples that conceptually convey what the existing examples in quantile-forest package show. That is, we simply replicate the different examples using |
Thank you for a great package that addresses a clear need in the Python ecosystem. As the primary maintainer of quantile-forest, it's encouraging to see the examples adapted for your work. You may also find relevant and useful the more recent examples on multiple-output problems and conformalized quantile regression. I'd like to mention that quantile-forest is actively maintained and, in keeping with the spirit of open-source collaboration and the guidelines that accompany our package, a brief acknowledgment in any modified files would be greatly appreciated. That said, your efforts in advancing this field are commendable. I'm looking forward to seeing more of your work. |
Hey @reidjohnson! Thanks for your note. I wasn't aware quantile-forest was still being maintained. That was my mistake. I also took a look at the old PR and see we didn't provide a link back to quantile-forest. That was our mistake! We apologize for that and did not mean for that to occur. thanks for bringing that to our attention. will submit a PR to rectify. Glad you like the vision of this package! We tried our best to achieve some type of design close to scikit-learn. If there's anything else you think would be interesting to add or collaborate on, feel free to let us know! |
Let me know if this looks good to you @reidjohnson ! |
Absolutely -- thank you @adam2392. I recognize that this package is evolving rapidly and am excited about the prospect of collaborating should an appropriate opportunity present itself! |
Now the sklearn fork has the ability to predict quantiles. It would be great to demonstrate this ability within
scikit-tree
. The most important examples to replicate would be:But honestly, we should replicate all of the examples in
quantile-forest
package, since that package is not really maintained anymore. We can then describe how we achieved feature parity w/ quantile-forest and now support other types of quantile-tree methods such as oblique trees and morf trees.The text was updated successfully, but these errors were encountered: