GitHub user mengxr opened a pull request:
https://github.com/apache/spark/pull/6088
[SPARK-7380][MLLIB] pipeline stages should be copyable in Python
This PR makes pipeline stages in Python copyable and hence simplifies some
implementations. It also includes the following changes:
1. Rename `paramMap` and `defaultParamMap` to `_paramMap` and
`_defaultParamMap`, respectively.
2. Accept a list of param maps in `fit`.
3. Use parent uid and name to identify param.
@jkbradley
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/mengxr/spark SPARK-7380
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/6088.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 #6088
----
commit 7431272feefe77951b4dd167b18b40bee74b1d8b
Author: Joseph K. Bradley <[email protected]>
Date: 2015-05-11T19:51:07Z
Rebased with master
commit 66ce18c04466729e77ead601db4e18f928d440d4
Author: Joseph K. Bradley <[email protected]>
Date: 2015-05-11T20:00:37Z
some cleanups before sending to Xiangrui
commit 02abf1343531e046e4aa2b2f0c565aff7c976905
Author: Xiangrui Meng <[email protected]>
Date: 2015-05-12T08:20:22Z
Merge remote-tracking branch 'apache/master' into copyable-python
commit 64a536cc603cd2b5368c7732a88fd5df98f8d142
Author: Xiangrui Meng <[email protected]>
Date: 2015-05-12T17:29:40Z
use _fit/_transform/_evaluate to simplify the impl
commit 13bd70adada9f49d7927fa4eaa8c958325a2ae06
Author: Xiangrui Meng <[email protected]>
Date: 2015-05-12T18:05:52Z
update ml/tests.py
commit 9630eae6c4c9231144790f754dd9063ea61c4c99
Author: Xiangrui Meng <[email protected]>
Date: 2015-05-12T18:11:39Z
fix Identifiable._randomUID
----
---
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]