-
Notifications
You must be signed in to change notification settings - Fork 28.9k
[SPARK-15162][SPARK-15164][PySpark][DOCS][ML] update some pydocs #12938
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
[SPARK-15162][SPARK-15164][PySpark][DOCS][ML] update some pydocs #12938
Conversation
…hat way in scala and update the docs for logisitc regression threshold
…ce it doesn't throw an an error
|
Test build #57925 has finished for PR 12938 at commit
|
…tigate how to handle the weights param being none
…layers stay same but weights change
|
Test build #58153 has finished for PR 12938 at commit
|
|
Test build #58249 has finished for PR 12938 at commit
|
| " Allows setting the solver: minibatch gradient descent (gd) or l-bfgs. " + | ||
| " l-bfgs is the default one.", | ||
| "Allows setting the solver: minibatch gradient descent (gd) or l-bfgs. " + | ||
| "(Default l-bfgs)", |
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.
indentation is off here. Also prefer (Default: l-bfgs)
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.
sure, kept original indentation but will update.
|
Test build #58255 has finished for PR 12938 at commit
|
|
Test build #58264 has finished for PR 12938 at commit
|
|
Test build #58895 has finished for PR 12938 at commit
|
|
Test build #58901 has finished for PR 12938 at commit
|
|
Test build #59158 has finished for PR 12938 at commit
|
|
ping? |
|
I think you meant @holdenk Otherwise the pr looks ok to me. ;-) |
|
Test build #60499 has finished for PR 12938 at commit
|
|
@holdenk ok weird - now master is failing for me locally with the same error and I confirmed your fix does work. Failure is consistent for me locally. But it doesn't appear this is impacting open/recent PySpark SQL PRs... e.g. #13717, #13558. This PR is the only place it's failing on Jenkins, which is really weird to me, since even an intermittent failure should show up on someone else's PR. So for now I have not reverted f7288e1 ... cc @rxin @sameeragarwal In any case let's rather isolate the issue/fix in a separate PR for SPARK-15954. |
|
Sounds good will make that PR :) On Friday, June 17, 2016, Nick Pentreath [email protected] wrote:
Cell : 425-233-8271 |
|
Sure thing. On Tuesday, June 21, 2016, Nick Pentreath [email protected] wrote:
Cell : 425-233-8271 |
This reverts commit 4431daa.
|
So this reverts the support both, but leaves in the revert of the breaking change. Did you also want that removed @MLnick ? |
|
I did mean by my earlier comment that this PR should focus on the doc
|
|
Good, I'll revert the revert then as well :) |
…r reading resource files in HiveTests" as it was causing Jenkins failures." This reverts commit 2be8cdf.
|
Stripped down to just the doc changes. I personally very much like having small PRs - the fix just happened to end up in here since it this doc change exposed the underlying issue (and it seemed like the doc change its self was small enough it would be ok to package the fix with it) as some people have asked that I group things together more. |
|
Test build #60943 has finished for PR 12938 at commit
|
|
Test build #60949 has finished for PR 12938 at commit
|
|
Ok it's passing now :) LGTM |
## What changes were proposed in this pull request? Mark ml.classification algorithms as experimental to match Scala algorithms, update PyDoc for for thresholds on `LogisticRegression` to have same level of info as Scala, and enable mathjax for PyDoc. ## How was this patch tested? Built docs locally & PySpark SQL tests Author: Holden Karau <[email protected]> Closes #12938 from holdenk/SPARK-15162-SPARK-15164-update-some-pydocs. (cherry picked from commit d281b0b) Signed-off-by: Nick Pentreath <[email protected]>
|
Merged to master/branch-2.0. |
What changes were proposed in this pull request?
Mark ml.classification algorithms as experimental to match Scala algorithms, update PyDoc for for thresholds on
LogisticRegressionto have same level of info as Scala, and enable mathjax for PyDoc.How was this patch tested?
Built docs locally & PySpark SQL tests