Repository navigation
Conversation
Member
|
I wonder if some of the work done by @cakedev0 is superseding this PR. |
Member
|
I don't think so. I haven't touched |
Member
Author
|
Yeah the intent of these PR drafts were to show how we can move towards a more generalized interface to smooth the implementation of more advanced trees. E.g. oblique trees or convolutional trees. |
This branch has not been deployed
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
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
Addresses the Python interface issue in #24000
Also is a follow up to refactoring of Criterion in #24678
This should be reviewed and merged after #24678
What does this implement/fix? Explain your changes.
This implements a change to the
BaseDecisionTreeclass to enable i) consistency with the assumptions of aBaseEstimatorand ii) modularity for subclassing of theBaseDecisionTreeclass.consistency:
y=Noneis now the default infit(), which is in line w/ the assumptions of aBaseEstimatorthat is not supervised/unsupervised yet. This enables someone to subclassBaseDecisionTreeand define a completely unsupervised tree as described in [RFC] Modularize 'Criterion' class inside tree submodule to allow 3rd party extensions for data-based criterion #24577modularity:
_set_criterion(),_set_splitter(), and_set_tree(). As demonstrated in FEA Add Oblique trees and oblique splitters to tree module: Enables extensibility of the trees #22754 any subclass of the Tree and Splitter class is sufficient to build up a tree using the existing TreeBuilder cython class.Any other comments?
n/a