GitHub user mengxr opened a pull request:
https://github.com/apache/spark/pull/4266
[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
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/mengxr/spark py-stat-refactor
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/4266.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 #4266
----
commit 1a5e1dbd528febab0eebc88f4096898cd391c485
Author: Xiangrui Meng <[email protected]>
Date: 2015-01-29T08:44:14Z
refactor stat.py
----
---
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 [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]