forked from scikit-learn/scikit-learn
-
Notifications
You must be signed in to change notification settings - Fork 7
[EXAMPLE DIFF] (Tree featuresv2) Fork of sklearn that maintains all necessary refactorings to enable downstream functionality #32
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
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Co-authored-by: Chester Huynh <chester.huynh924@gmail.com> Co-authored-by: Parth Vora <pvora4@jhu.edu>
Co-Authored-By: Thomas Fan <thomasjpfan@gmail.com> Co-Authored-By: Chester Huynh <chester.huynh924@gmail.com> Co-Authored-By: Parth Vora <pvora4@jhu.edu>
tests. The issues still are: - sparse dataset support, which I could possibly split into a follow-up PR? - pickling does not work on roundtrip for some reason - certain issues with max_leaf
Signed-off-by: Adam Li <adam2392@gmail.com>
Signed-off-by: Adam Li <adam2392@gmail.com>
…-learn into tree-featuresv2
Signed-off-by: Adam Li <adam2392@gmail.com>
Signed-off-by: Adam Li <adam2392@gmail.com>
…-learn into tree-featuresv2
Signed-off-by: Adam Li <adam2392@gmail.com>
Signed-off-by: Adam Li <adam2392@gmail.com>
Signed-off-by: Adam Li <adam2392@gmail.com>
Signed-off-by: Adam Li <adam2392@gmail.com>
#### Reference Issues/PRs Closes: #25 Closes: #23 #### What does this implement/fix? Explain your changes. Adds preliminary capability for binning features. The cons is we need to "bin" again during predict time. I've documented how we can get around this in the README, but it will involve some heavy-duty Cython coding. - Remove Oblique tree models and migrated to scikit-tree - Fix up CI so that way unnecessary workflows are not ran on the fork - Updated the documentation with the current limitation of binning --------- Signed-off-by: Adam Li <adam2392@gmail.com>
adam2392
commented
Mar 28, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Reference Issues/PRs
This is the most up-to-date PR branch to consolidate all proposed refactor changes that work with:
What does this implement/fix? Explain your changes.
Incorporates refactors to:
Internal Cython of scikit-learn's:
Internals of Python in scikit-learns:
Adds the basic implementation of oblique trees. The implementation of oblique trees has been tested on all sklearn's
check_estimator
testing function and has error-checking bounds for the new hyperparameter introduced, which isfeature_combinations
that defaults tomin(1.5, n_features)
.TODO:
Any other comments?
Eventually, we want to build wheels in order to make this fork "maintainable".