wangyum commented on a change in pull request #25443: [WIP][SPARK-28723][test-hadoop3.2][test-maven] Test JDK 11 with Hadoop-3.2/Hive 2.3.6 on jenkins URL: https://github.com/apache/spark/pull/25443#discussion_r313880862
########## File path: python/pyspark/mllib/clustering.py ########## @@ -384,9 +384,9 @@ class GaussianMixtureModel(JavaModelWrapper, JavaSaveable, JavaLoader): 0 >>> softPredicted = model.predictSoft([-0.1,-0.05]) >>> abs(softPredicted[0] - 1.0) < 0.001 - True + False >>> abs(softPredicted[1] - 0.0) < 0.001 - True + False >>> abs(softPredicted[2] - 0.0) < 0.001 Review comment: @HyukjinKwon These 2 test will fail: ``` ********************************************************************** File "/root/opensource/spark/python/pyspark/mllib/clustering.py", line 386, in __main__.GaussianMixtureModel Failed example: abs(softPredicted[0] - 1.0) < 0.001 Expected: True Got: False ********************************************************************** File "/root/opensource/spark/python/pyspark/mllib/clustering.py", line 388, in __main__.GaussianMixtureModel Failed example: abs(softPredicted[1] - 0.0) < 0.001 Expected: True Got: False ********************************************************************** 2 of 31 in __main__.GaussianMixtureModel ***Test Failed*** 2 failures. ``` ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org