GitHub user yinxusen opened a pull request:
https://github.com/apache/spark/pull/11374
[SPARK-12042] Python API for mllib.stat.test.StreamingTest
## What changes were proposed in this pull request?
The patch adds python API for mllib.stat.test.StreamingTest under JIRA
https://issues.apache.org/jira/browse/SPARK-12042.
Note that for `StreamingTestResult`, unlike other test results in Python, I
define it as a normal Python class which doesn't extend from `TestResult` with
a `_java_obj` in it.
## How was this patch tested?
The patch is tested with Python unit test.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/yinxusen/spark SPARK-12042
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/11374.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 #11374
----
commit 6867a8953d5b94cfa3b6520c2a52ef8f04ed72fb
Author: Xusen Yin <[email protected]>
Date: 2016-02-25T06:42:38Z
A draft and runnable version
commit 079a87369e57a0454aaa0ff5a1ebefce97abcfc0
Author: Xusen Yin <[email protected]>
Date: 2016-02-25T08:09:52Z
treat StreamingTestResult as an independent class
commit f70d7aa52a2006d2a86de2e4591839f34dabc50a
Author: Xusen Yin <[email protected]>
Date: 2016-02-25T20:02:24Z
add test for streamingtest
commit 770703b341fd4f900718cf2fd8a1985170435b65
Author: Xusen Yin <[email protected]>
Date: 2016-02-25T20:22:38Z
refine 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 [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]