-
Notifications
You must be signed in to change notification settings - Fork 3.8k
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
Pr4 advanced method monotone constraints #3264
Merged
StrikerRUS
merged 42 commits into
microsoft:master
from
CharlesAuguste:PR4-advanced-method-monotone-constraints
Sep 21, 2020
Merged
Changes from 41 commits
Commits
Show all changes
42 commits
Select commit
Hold shift + click to select a range
95be175
No need to pass the tree to all fuctions related to monotone constrai…
bb6668c
Fix OppositeChildShouldBeUpdated numerical split optimisation.
75ca708
No need to use constraints when computing the output of the root.
38b9ab1
Refactor existing constraints.
447eb3b
Add advanced constraints method.
d7e8a9e
Update tests.
8bee2cb
Add override.
0029358
linting.
5acfb14
Add override.
CharlesAuguste 770f93f
Simplify condition in LeftRightContainsRelevantInformation.
CharlesAuguste e1ed799
Add virtual destructor to FeatureConstraint.
CharlesAuguste af52340
Remove redundant blank line.
CharlesAuguste 04c53e7
linting of else.
CharlesAuguste 2e13eaf
Indentation.
CharlesAuguste b9443b3
Lint else.
CharlesAuguste 12f67d7
Replaced non-const reference by pointers.
CharlesAuguste 6a5d2ed
Forgotten reference.
CharlesAuguste e78a5bc
Leverage USE_MC for efficiency.
CharlesAuguste 6801322
Make constraints const again in feature_histogram.hpp.
CharlesAuguste 7fc04cf
Update docs.
CharlesAuguste 7f1c05a
Add "advanced" to the monotone constraints options.
CharlesAuguste 24290e0
Update monotone constraints restrictions.
CharlesAuguste 56bc0da
Fix loop iterator.
e47148f
Fix loop iterator.
bea1edd
Remove superfluous parenthesis.
CharlesAuguste 8cf7aa8
Fix loop iterator.
81226b8
Fix loop iterator.
6b66558
Fix loop iterator.
250dfe7
Fix loop iterator.
73d9752
Fix loop iterator.
afa744f
Fix loop iterator.
7e9987b
Fix loop iterator.
9da9d09
Fix loop iterator.
184c4ef
Remove std namespace qualifier.
CharlesAuguste e9f6953
Fix unsigned_int size_t comparison.
CharlesAuguste 1b38dc4
Set num_features as int for consistency with the rest of the codebase.
CharlesAuguste 21f32d2
Make sure constraints exist before recomputing them.
CharlesAuguste 609f78a
Initialize previous constraints in UpdateConstraints.
CharlesAuguste f554a24
Update monotone constraints restrictions.
CharlesAuguste 6b3d73d
Refactor UpdateConstraints loop.
CharlesAuguste 5774cf4
Update src/io/config.cpp
6ec24f4
Delete white spaces.
CharlesAuguste 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 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 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 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 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.
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.
please use
USE_MC
for efficiency.