Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-35392

Flaky Test: GaussianMixture at ml/clustering.py and Word2Vec at ml/feature.py

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.2.0
    • 3.2.0
    • ML, PySpark
    • None

    Description

      Some python tests should be updated/removed, because of SPARK-35295

      https://github.com/apache/spark/runs/2568540411

      **********************************************************************
      File "/__w/spark/spark/python/pyspark/ml/clustering.py", line 276, in __main__.GaussianMixture
      Failed example:
          summary.logLikelihood
      Expected:
          65.02945...
      Got:
          93.36008975083433
      **********************************************************************
      

      and

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

      Attachments

        Issue Links

          Activity

            People

              podongfeng Ruifeng Zheng
              gurwls223 Hyukjin Kwon
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: