-
Notifications
You must be signed in to change notification settings - Fork 28.9k
[SPARK-12633][Python][MLlib][DOC] Update param descriptions in regression.py #10600
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
Conversation
|
I just added a note to the parent JIRA about a formatting issue affecting all 5 PRs: [https://issues.apache.org/jira/browse/SPARK-11219?focusedCommentId=15090225&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-15090225] |
1b57c92 to
617ea24
Compare
|
ping @jkbradley ! |
python/pyspark/mllib/regression.py
Outdated
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.
Capitalize the first word and add a period at the end
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.
Do you mean "pyspark.mllib" should be "Pyspark" ? I thought package names should be left alone.
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.
Sorry, my bad - it is already capitalized, my font was too small I guess :). Could you just add a period after the end of the description? So should read ..."scipy.sparse column matrix)."
|
Thanks @vijaykiran , just a couple minor corrections and would you mind changing the PR title to indicate this is for regression.py? |
Updates the param descriptions to be consistent. See [SPARK-11219] for more details.
Change fill-column to 100.
617ea24 to
5feecba
Compare
|
@BryanCutler Fixed the indentation and added period. |
|
ok to test |
|
Test build #50151 has finished for PR 10600 at commit
|
|
we need to settle on the |
|
@BryanCutler it looks like a version of the "allowed values" got merged in the PR for |
|
Yeah, we were discussing the format of "allowed values" in that PR here I just wanted to make sure we used the same format for the similar params here. I'm not too crazy about the extra blank lines, but Sphinx requires them to format it correctly without generating errors. |
|
@BryanCutler ok, from that comment discussion it seems the format agreed would be: As we discussed in the PR for |
|
@MLnick I don't have a preference for |
|
It's pretty minor so just add it here
|
…sistent format Part of task for [SPARK-11219](https://issues.apache.org/jira/browse/SPARK-11219) to make PySpark MLlib parameter description formatting consistent. This is for the regression module. Also, updated 2 params in classification to read as `Supported values:` to be consistent. closes apache#10600 Author: vijaykiran <[email protected]> Author: Bryan Cutler <[email protected]> Closes apache#11404 from BryanCutler/param-desc-consistent-regression-SPARK-12633.
Updates the param, in python mllib's regression.py, descriptions to be consistent. See [SPARK-11219] for
more details.