GitHub user jbencook opened a pull request: https://github.com/apache/spark/pull/3679
[SPARK-2980][mllib] testing the Chi-squared hypothesis test This PR tests the pyspark Chi-squared hypothesis test from this commit: c8abddc5164d8cf11cdede6ab3d5d1ea08028708 and moves some of the error messaging in to python. It is a port of the Scala tests here: [HypothesisTestSuite.scala](https://github.com/apache/spark/blob/master/mllib/src/test/scala/orgapache/spark/mllib/stat/HypothesisTestSuite.scala) Hopefully, SPARK-2980 can be closed. You can merge this pull request into a Git repository by running: $ git pull https://github.com/jbencook/spark master Alternatively you can review and apply these changes as the patch at: https://github.com/apache/spark/pull/3679.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #3679 ---- commit 3aeb0d91007960f33076b6e6775944bb9d81ead8 Author: jbencook <jbenjaminc...@gmail.com> Date: 2014-12-11T15:44:08Z [SPARK-2980][mllib] bringing Chi-squared error messages to the python side commit a17ee843185bdb1ee96574712450243d112fbce6 Author: jbencook <jbenjaminc...@gmail.com> Date: 2014-12-11T15:44:34Z [SPARK-2980][mllib] adding unit tests for the pyspark chi-squared test ---- --- 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