GitHub user hhbyyh opened a pull request:
https://github.com/apache/spark/pull/12533
[SPARK-14760] [ML] Feature transformers should always invoke
transformSchema in transform or fit
## What changes were proposed in this pull request?
Since one of the primary function for transformSchema is to conduct
parameter validation, transformers should always invoke transformSchema in
transform and fit.
## How was this patch tested?
unit tests
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/hhbyyh/spark addTranSchema
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/12533.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 #12533
----
commit d92f491993d99a243ab80003bb1e1bea728f9d27
Author: Yuhao Yang <[email protected]>
Date: 2016-04-20T16:30:53Z
add transformSchema check
----
---
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]