Github user mengxr commented on a diff in the pull request:
https://github.com/apache/spark/pull/5153#discussion_r27002562
--- Diff: docs/ml-guide.md ---
@@ -185,7 +185,7 @@ val training = sc.parallelize(Seq(
// Create a LogisticRegression instance. This instance is an Estimator.
val lr = new LogisticRegression()
// Print out the parameters, documentation, and any default values.
-println("LogisticRegression parameters:\n" + lr.explainParams() + "\n")
+println(s"LogisticRegression parameters:\n ${lr.explainParams()}")
--- End diff --
Remove space after `\n`. The last `\n` should be preserved to create an
empty line after this block.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]