-
-
Notifications
You must be signed in to change notification settings - Fork 8.9k
Fix predict() ignoring base_margin in xgb.DMatrix #11880
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
Sanidhyavijay24
wants to merge
23
commits into
dmlc:master
from
Sanidhyavijay24:fix-r-predict-margin
Closed
Changes from all commits
Commits
Show all changes
23 commits
Select commit
Hold shift + click to select a range
da288b7
Fix iteration handling for nrounds=0 in xgb.train
Sanidhyavijay24 23179cf
Removed trailing whitespace
Sanidhyavijay24 5e7b8e0
whitespace error fix again (last time sorry!!)
Sanidhyavijay24 0a05eee
Add regression test for nrounds=0
Sanidhyavijay24 e73f2b1
Merge branch 'master' into master
Sanidhyavijay24 615f9b3
Fix test for xgb.train with nrounds = 0
Sanidhyavijay24 296f1ba
Fix style/whitespace error
Sanidhyavijay24 d488100
Clean up test_basic.R by removing blank line
Sanidhyavijay24 946a511
Improve test coverage for xgb.train with nrounds = 0
Sanidhyavijay24 0a54297
Merge branch 'master' into master
Sanidhyavijay24 f67741a
Fixed use of single '&' for vector comparison, not '&&'
Sanidhyavijay24 0ed5267
Now handles NULL niter in continuation with callbacks
Sanidhyavijay24 03b1300
Merge branch 'master' into master
Sanidhyavijay24 8de55c3
Corrected case 3
Sanidhyavijay24 ee411c4
Merge branch 'master' into master
Sanidhyavijay24 5099fa3
Updated tests for CRAN compliance and cleanup
Sanidhyavijay24 2ebf867
Merge branch 'dmlc:master' into master
Sanidhyavijay24 15e340d
Fix predict to respect base_margin in xgb.DMatrix
Sanidhyavijay24 2a495dc
Added test for DMatrix base_margin prediction
Sanidhyavijay24 cdac55b
Simplify DMatrix margin fix
Sanidhyavijay24 4490396
Update test to use fresh objects (avoid caching)
Sanidhyavijay24 61bbadd
Update test to avoid caching in all cases
Sanidhyavijay24 7d99ab8
Remove unnecessary blank line in xgb.Booster.R
Sanidhyavijay24 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
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.