Github user dbtsai commented on a diff in the pull request:

    https://github.com/apache/spark/pull/10788#discussion_r50041152
  
    --- Diff: 
mllib/src/main/scala/org/apache/spark/ml/classification/LogisticRegression.scala
 ---
    @@ -343,8 +365,8 @@ class LogisticRegression @Since("1.2.0") (
             = math.log(histogram(1) / histogram(0))
         }
     
    -    val states = optimizer.iterations(new CachedDiffFunction(costFun),
    -      initialCoefficientsWithIntercept.toBreeze.toDenseVector)
    +      val states = optimizer.iterations(new CachedDiffFunction(costFun),
    +        initialCoefficientsWithIntercept.toBreeze.toDenseVector)
    --- End diff --
    
    Wrong indentation. Remove two spaces.


---
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]

Reply via email to