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

Hyukjin Kwon resolved SPARK-35392.
----------------------------------
    Resolution: Fixed

Fixed in https://github.com/apache/spark/pull/32533

> Flaky Test: GaussianMixture at ml/clustering.py and Word2Vec at ml/feature.py
> -----------------------------------------------------------------------------
>
>                 Key: SPARK-35392
>                 URL: https://issues.apache.org/jira/browse/SPARK-35392
>             Project: Spark
>          Issue Type: Bug
>          Components: ML, PySpark
>    Affects Versions: 3.2.0
>            Reporter: Hyukjin Kwon
>            Priority: Major
>
> Some python tests should be updated/removed, because of 
> [SPARK-35295|https://issues.apache.org/jira/browse/SPARK-35295]
> [https://github.com/apache/spark/runs/2568540411]
> {code:java}
> **********************************************************************
> File "/__w/spark/spark/python/pyspark/ml/clustering.py", line 276, in 
> __main__.GaussianMixture
> Failed example:
>     summary.logLikelihood
> Expected:
>     65.02945...
> Got:
>     93.36008975083433
> **********************************************************************
> {code}
> and
> {code}
> **********************************************************************
> File "/__w/spark/spark/python/pyspark/ml/feature.py", line 4681, in 
> __main__.Word2Vec
> Failed example:
>     model.getVectors().show()
> Expected:
>     +----+--------------------+
>     |word|              vector|
>     +----+--------------------+
>     |   a|[0.09511678665876...|
>     |   b|[-1.2028766870498...|
>     |   c|[0.30153277516365...|
>     +----+--------------------+
>     ...
> Got:
>     +----+--------------------+
>     |word|              vector|
>     +----+--------------------+
>     |   a|[0.09511695802211...|
>     |   b|[-1.2028766870498...|
>     |   c|[0.30153274536132...|
>     +----+--------------------+
>     <BLANKLINE>
> **********************************************************************
> {code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to