GitHub user zhengruifeng opened a pull request:
https://github.com/apache/spark/pull/12920
[SPARK-15141][DOC] Add python example for OneVsRest
## What changes were proposed in this pull request?
Add python example for OneVsRest
## How was this patch tested?
manual tests
`./bin/spark-submit examples/src/main/python/ml/one_vs_rest_example.py
--input=data/mllib/sample_multiclass_classification_data.txt --fracTest=0.33
--maxIter=2 --fitIntercept=false --regParam=0.001 --tol=0.012`
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/zhengruifeng/spark ovr_pe
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/12920.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 #12920
----
commit 6059e85e5438fd0d9c2f00b5c483f83bde397df1
Author: Zheng RuiFeng <[email protected]>
Date: 2016-04-30T04:40:58Z
create
commit c5a1400655a78443be502aa3b9cfefaa62d2b2ac
Author: Zheng RuiFeng <[email protected]>
Date: 2016-05-03T10:32:13Z
finish pr
commit 474e2523e6089b83a8ff225bcddb4b683207a6e6
Author: Zheng RuiFeng <[email protected]>
Date: 2016-05-05T05:01:20Z
use argparse
----
---
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]