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

    https://github.com/apache/spark/pull/9756#discussion_r46529657
  
    --- Diff: 
mllib/src/test/scala/org/apache/spark/ml/evaluation/RegressionEvaluatorSuite.scala
 ---
    @@ -65,15 +65,15 @@ class RegressionEvaluatorSuite
     
         // default = rmse
         val evaluator = new RegressionEvaluator()
    -    assert(evaluator.evaluate(predictions) ~== 0.1019382 absTol 0.001)
    +    assert(evaluator.evaluate(predictions) ~== 0.1013829 absTol 0.001)
    --- End diff --
    
    Yeah I expect some values change due to differing use of the RNG. Some of 
the differences are larger than the test's tolerance. That could just mean the 
tolerance is too tight. I wonder if it's worth loosening them where it's 
clearly too small (implicitly, by adjusting the expected value we're accepting 
this). Like, these could be +/- 0.01. 


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