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
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
Expand Up @@ -41,7 +41,7 @@
* An example demonstrating a k-means clustering.
* Run with
* <pre>
* bin/run-example ml.JavaSimpleParamsExample <file> <k>
* bin/run-example ml.JavaKMeansExample <file> <k>
* </pre>
*/
public class JavaKMeansExample {
Expand Down
Expand Up @@ -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.

Expand Up @@ -90,3 +90,4 @@ object DecisionTreeClassificationExample {
// $example off$
}
}
// scalastyle:on println
Expand Up @@ -78,3 +78,4 @@ object DecisionTreeRegressionExample {
// $example off$
}
}
// scalastyle:on println
Expand Up @@ -66,4 +66,4 @@ object MultilayerPerceptronClassifierExample {
sc.stop()
}
}
// scalastyle:off println
// scalastyle:on println