Github user mengxr commented on a diff in the pull request:
https://github.com/apache/spark/pull/21719#discussion_r200495412
--- Diff:
mllib/src/main/scala/org/apache/spark/ml/classification/LogisticRegression.scala
---
@@ -490,7 +490,7 @@ class LogisticRegression @Since("1.2.0") (
protected[spark] def train(
dataset: Dataset[_],
- handlePersistence: Boolean): LogisticRegressionModel = {
+ handlePersistence: Boolean): LogisticRegressionModel =
Instrumentation.instrumented { instr =>
--- End diff --
To avoid line too wide, we might want to import `instrumented` and save
"Instrumentation" from this line.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]