Skip to content
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-11816] [ML] fix some style issue in ML/MLlib examples #9808

Closed
wants to merge 1 commit into from

Conversation

hhbyyh
Copy link
Contributor

@hhbyyh hhbyyh commented Nov 18, 2015

jira: https://issues.apache.org/jira/browse/SPARK-11816
Currently I only fixed some obvious comments issue like
// scalastyle:off println
on the bottom.

Yet the style in examples is not quite consistent, like only half of the examples are with
// Example usage: ./bin/run-example mllib.FPGrowthExample ,

@SparkQA
Copy link

SparkQA commented Nov 18, 2015

Test build #46216 has finished for PR 9808 at commit 6abe71c.

  • This patch passes all tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

@@ -59,4 +59,4 @@ object AFTSurvivalRegressionExample {
sc.stop()
}
}
// scalastyle:off println
// scalastyle:on println
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These won't matter, since it's the end of the file, but I like the correctness/consistency.

asfgit pushed a commit that referenced this pull request Nov 19, 2015
jira: https://issues.apache.org/jira/browse/SPARK-11816
Currently I only fixed some obvious comments issue like
// scalastyle:off println
on the bottom.

Yet the style in examples is not quite consistent, like only half of the examples  are with
// Example usage: ./bin/run-example mllib.FPGrowthExample \,

Author: Yuhao Yang <hhbyyh@gmail.com>

Closes #9808 from hhbyyh/exampleStyle.

(cherry picked from commit 67c7582)
Signed-off-by: Xiangrui Meng <meng@databricks.com>
@mengxr
Copy link
Contributor

mengxr commented Nov 19, 2015

LGTM. Merged into master and branch-1.6. Thanks!

@asfgit asfgit closed this in 67c7582 Nov 19, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
4 participants