GitHub user facaiy opened a pull request:
https://github.com/apache/spark/pull/18554
[SPARK-21306][ML] OneVsRest should cache weightCol if necessary
## What changes were proposed in this pull request?
cache weightCol if classifier inherits HasWeightCol trait.
## How was this patch tested?
+ [x] add an unit test.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/facaiy/spark BUG/oneVsRest_missing_weightCol
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/18554.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 #18554
----
commit f1785959e04e462877fd74e6c767e47e0fb207d6
Author: Yan Facai (é¢åæ) <[email protected]>
Date: 2017-07-06T09:38:01Z
BUG: cache weightCol if necessary
commit a3e6e967a23f06dbd50aee08c34b07055c5646ee
Author: Yan Facai (é¢åæ) <[email protected]>
Date: 2017-07-06T09:55:12Z
TST: add unit 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]