Github user yanboliang commented on the pull request: https://github.com/apache/spark/pull/10552#issuecomment-169917601 @jkbradley It can produce stable result after changing ```sc.parallelize``` to use 2 partitions. Thanks! Due to the ```predictSoft``` output may be negligibly small that we can not use ```0.000...``` to match equality, so I use ```abs(softPredicted[1] - 0.0) < 0.001``` in doctest.
--- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. --- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org