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

    https://github.com/apache/spark/pull/8884#discussion_r40530056
  
    --- Diff: 
mllib/src/test/scala/org/apache/spark/ml/regression/LinearRegressionSuite.scala 
---
    @@ -150,14 +155,14 @@ class LinearRegressionSuite extends SparkFunSuite 
with MLlibTestSparkContext {
            as.numeric.data.V2. 6.995908
            as.numeric.data.V3. 5.275131
          */
    -    val weightsR = Vectors.dense(6.995908, 5.275131)
    +      val weightsR = Vectors.dense(6.995908, 5.275131)
     
    -    assert(model1.intercept ~== 0 absTol 1E-3)
    -    assert(model1.weights ~= weightsR relTol 1E-3)
    -    assert(model2.intercept ~== 0 absTol 1E-3)
    -    assert(model2.weights ~= weightsR relTol 1E-3)
    +      assert(model1.intercept ~== 0 absTol 1E-3)
    --- End diff --
    
    These lines become inside of `foreach` block. So these are not indentation 
issues.


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