-
Notifications
You must be signed in to change notification settings - Fork 540
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
[REVIEW] Fix Stochastic Gradient Descent Example #3136
Conversation
The example that is currently in the docs does not run. dtype, penalty, lrate, loss are not defined. This new version sets the default values for the parameters of cumlSGD, and copies Mini Batch SGD Regression's dtype for pred_data['col1'], pred_data['col2']. When running this example, I also got slightly different values for the output, so these were also updated.
Can one of the admins verify this patch? |
1 similar comment
Can one of the admins verify this patch? |
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.
Looks good! Thank you for the fix!
ok to test |
Please update the changelog in order to start CI tests. View the gpuCI docs here. |
Codecov Report
@@ Coverage Diff @@
## branch-0.17 #3136 +/- ##
===============================================
- Coverage 70.57% 70.17% -0.40%
===============================================
Files 197 197
Lines 15461 15670 +209
===============================================
+ Hits 10911 10997 +86
- Misses 4550 4673 +123
Continue to review full report at Codecov.
|
@tylerjthomas9 thanks for the PR! The only thing missing is an entry in the changelog so that CI runs and we can merge it. Thanks! |
Oops, completely forgot about that. Just added the changelog entry. |
@tylerjthomas9 the changelog is not showing in the diff of github (and therefore CI wasn't triggered). I think what happened is you merged the changelog entry to the |
Added PR #3136 to 0.17 Bug Fixes
rerun tests |
The example that is currently in the docs does not run. dtype, penalty, lrate, loss are not defined. This new version sets the default values for the parameters of cumlSGD, and copies Mini Batch SGD Regression's dtype for
pred_data['col1']
,pred_data['col2']
. When running this example, I also got slightly different values for the output, so these were also updated.Old example:
New example: