-
Notifications
You must be signed in to change notification settings - Fork 29k
[SPARK-14975][ML] Fixed GBTClassifier to predict probability per training instance and fixed interfaces #16441
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
Closed
Changes from 1 commit
Commits
Show all changes
20 commits
Select commit
Hold shift + click to select a range
08831e7
[SPARK-14975][ML][WIP] Fixed GBTClassifier to predict probability per…
imatiach-msft e73b60f
Fixed scala style empty line
imatiach-msft d29b70d
Fixed binary compatibility tests
imatiach-msft d4afdd0
Fixing GBT classifier based on comments
imatiach-msft 62702c8
Fixing probabilities calculated from raw scores
imatiach-msft 27882b3
fixed scala style, multiplied raw prediction value by 2 in prob estimate
imatiach-msft 8698d16
Updating based on code review, including code cleanup and adding bett…
imatiach-msft aaf1b06
Adding back constructor but making it private
imatiach-msft bafab79
updates to GBTClassifier based on comments
imatiach-msft 2a6dea4
minor fixes to scala style
imatiach-msft 52c5115
Fixing more scala style
imatiach-msft 609a1b0
Using getOldLossType as per comments
imatiach-msft a28afe6
Added more tests for thresholds, fixed minor bug in predict to use th…
imatiach-msft 9d5bb9b
Updated based on newest comments
imatiach-msft 89965f5
missed one arg
imatiach-msft cacbbc1
Moving arg to its own line
imatiach-msft 7396dac
Updated based on latest comments - moved classifier loss trait, updat…
imatiach-msft f2e041d
Fixed up minor comments
imatiach-msft 1abfee0
Updated based on comments from jkbradley
imatiach-msft 818de81
Fixing build issues - need to keep numClasses in model
imatiach-msft 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
Updated based on newest comments
- Loading branch information
commit 9d5bb9b598903583c95b4de3142d23106c971e55
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
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.
Why lazy?
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.
removed lazy, removed comment. I made it lazy so as to not do the lookup if it doesn't need to be done, but since that isn't actually expensive and that only seemed to confuse it's better to remove it.