diff options
author | Xiangrui Meng <meng@databricks.com> | 2015-01-29 10:11:44 -0800 |
---|---|---|
committer | Xiangrui Meng <meng@databricks.com> | 2015-01-29 10:11:44 -0800 |
commit | a3dc6184862345c459d1fba475b1c9210038a913 (patch) | |
tree | 706a2dcab1d4c0decf5fe6269fcabf56e8d17b2f /python/run-tests | |
parent | 5ad78f62056f2560cd371ee964111a646806d0ff (diff) | |
download | spark-a3dc6184862345c459d1fba475b1c9210038a913.tar.gz spark-a3dc6184862345c459d1fba475b1c9210038a913.tar.bz2 spark-a3dc6184862345c459d1fba475b1c9210038a913.zip |
[SPARK-5477] refactor stat.py
There is only a single `stat.py` file for the `mllib.stat` package. We recently added `MultivariateGaussian` under `mllib.stat.distribution` in Scala/Java. It would be nice to refactor `stat.py` and make it easy to expand. Note that `ChiSqTestResult` is moved from `mllib.stat` to `mllib.stat.test`. The latter is used in Scala/Java. It is only used in the return value of `Statistics.chiSqTest`, so this should be an okay change.
davies
Author: Xiangrui Meng <meng@databricks.com>
Closes #4266 from mengxr/py-stat-refactor and squashes the following commits:
1a5e1db [Xiangrui Meng] refactor stat.py
Diffstat (limited to 'python/run-tests')
-rwxr-xr-x | python/run-tests | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/python/run-tests b/python/run-tests index 84cb89b1a9..e91f1a875d 100755 --- a/python/run-tests +++ b/python/run-tests @@ -76,7 +76,7 @@ function run_mllib_tests() { run_test "pyspark/mllib/rand.py" run_test "pyspark/mllib/recommendation.py" run_test "pyspark/mllib/regression.py" - run_test "pyspark/mllib/stat.py" + run_test "pyspark/mllib/stat/_statistics.py" run_test "pyspark/mllib/tree.py" run_test "pyspark/mllib/util.py" run_test "pyspark/mllib/tests.py" |