[
https://issues.apache.org/jira/browse/SPARK-9461?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Hyukjin Kwon resolved SPARK-9461.
---------------------------------
Resolution: Incomplete
> 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: [email protected]
For additional commands, e-mail: [email protected]