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

Dongjoon Hyun reassigned SPARK-37522:
-------------------------------------

    Assignee: Dongjoon Hyun

> Fix MultilayerPerceptronClassifierTest.test_raw_and_probability_prediction
> --------------------------------------------------------------------------
>
>                 Key: SPARK-37522
>                 URL: https://issues.apache.org/jira/browse/SPARK-37522
>             Project: Spark
>          Issue Type: Sub-task
>          Components: PySpark, Tests
>    Affects Versions: 3.3.0
>            Reporter: Dongjoon Hyun
>            Assignee: Dongjoon Hyun
>            Priority: Major
>
> The failure happens on Java 17 native Apple Silicon version on Python 
> 3.9/3.10.
> {code}
> $ java -version
> openjdk version "17.0.1" 2021-10-19 LTS
> OpenJDK Runtime Environment Zulu17.30+15-CA (build 17.0.1+12-LTS)
> OpenJDK 64-Bit Server VM Zulu17.30+15-CA (build 17.0.1+12-LTS, mixed mode, 
> sharing)
> {code}
> {code}
> ======================================================================
> FAIL: test_raw_and_probability_prediction 
> (pyspark.ml.tests.test_algorithms.MultilayerPerceptronClassifierTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File 
> "/Users/dongjoon/APACHE/spark-merge/python/pyspark/ml/tests/test_algorithms.py",
>  line 104, in test_raw_and_probability_prediction
>     self.assertTrue(np.allclose(result.rawPrediction, expected_rawPrediction, 
> rtol=0.102))
> AssertionError: False is not true
> ----------------------------------------------------------------------
> Ran 1 test in 7.385s
> FAILED (failures=1)
> Had test failures in pyspark.ml.tests.test_algorithms 
> MultilayerPerceptronClassifierTest.test_raw_and_probability_prediction with 
> python3; see logs.
> {code}



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

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

Reply via email to