You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Hyukjin Kwon (JIRA)" <ji...@apache.org> on 2019/05/21 04:20:06 UTC

[jira] [Updated] (SPARK-9461) Possibly slightly flaky PySpark StreamingLinearRegressionWithTests

     [ https://issues.apache.org/jira/browse/SPARK-9461?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Hyukjin Kwon updated SPARK-9461:
--------------------------------
    Labels: bulk-closed  (was: )

> Possibly slightly flaky PySpark StreamingLinearRegressionWithTests
> ------------------------------------------------------------------
>
>                 Key: SPARK-9461
>                 URL: https://issues.apache.org/jira/browse/SPARK-9461
>             Project: Spark
>          Issue Type: Bug
>          Components: MLlib, PySpark
>    Affects Versions: 1.5.0
>            Reporter: Joseph K. Bradley
>            Assignee: Jeremy Freeman
>            Priority: Major
>              Labels: bulk-closed
>
> [~freeman-lab]
> Check out this failure: [https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/38913/consoleFull]
> It should be deterministic, but do you think it's just slight variations caused by the Python version?  Or do you think it's something odd going on with streaming?  This is the only time I've seen this happen, but I'll post again if I see it more.
> Test failure message:
> {code}
> ======================================================================
> FAIL: test_parameter_accuracy (__main__.StreamingLinearRegressionWithTests)
> Test that coefs are predicted accurately by fitting on toy data.
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/home/jenkins/workspace/SparkPullRequestBuilder/python/pyspark/mllib/tests.py", line 1282, in test_parameter_accuracy
>     slr.latestModel().weights.array, [10., 10.], 1)
>   File "/home/jenkins/workspace/SparkPullRequestBuilder/python/pyspark/mllib/tests.py", line 1257, in assertArrayAlmostEqual
>     self.assertAlmostEqual(i, j, dec)
> AssertionError: 9.4243238731093655 != 9.3216175551722014 within 1 places
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org