-
Notifications
You must be signed in to change notification settings - Fork 29k
[SPARK-3159][MLlib] Check for reducible DecisionTree #17503
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
Closed
facaiy
wants to merge
22
commits into
apache:master
from
facaiy:CLN/check_for_reducible_decision_tree
Closed
Changes from all commits
Commits
Show all changes
22 commits
Select commit
Hold shift + click to select a range
fab2a0e
TST: create new test suite
facaiy f5d52cc
TST: helper method for construcing binary tree
facaiy b9248b7
TST: helper method, show tree node info
facaiy be12f4f
TST: helper method, check if pairs of leave with same prediction exists
facaiy b524202
TST: helper method for modifying nodes
facaiy 98a73f9
ENH: merge the pairs of leave with same prediction of same parent
facaiy 632325d
ENH: add mergeLeave param in Strategy
facaiy 1205295
ENH: support mergeChild when training
facaiy 434c762
ENH: add canMergeChildren param in DecisionTreeParams
facaiy 5162552
ENH: add set method in tree classifier
facaiy 21b1a85
ENH: stat: merge counts of each tree
facaiy 25b712a
BUG: depth=0 tree has none of children
facaiy 749dbd8
TST: add comment for test suite
facaiy fbd1c9a
TST: add iris dataset
facaiy f81e4e3
TST: helper method, check children of Node
facaiy 129e6fe
TST: add unit test, check setCanMergeChildren for DecisionTreeClassifier
facaiy 3f49146
TST: rename test case
facaiy 1b42afb
BUG: fix for terminal node whose isLeaf is false
facaiy 93ffa3f
CLN: format mergeCountsOfTreesInfo
facaiy a8351f8
CLN: fix for code style
facaiy 701806f
BUG: mima, fix binary compatibility
facaiy a472c3a
merge latest master and reslove conflict
facaiy File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
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
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
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
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
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A new parameter is added in Strategy class, which fails Mima tests. How to deal with it?
see failed logs