GitHub user VinceShieh opened a pull request:
https://github.com/apache/spark/pull/17237
[SPARK-19852][PYSPARK][ML] Update Python API setHandleInvalid for
StringIndexer
## What changes were proposed in this pull request?
This PR is to maintain API parity with changes made in SPARK-17498 to
support a new option
'keep' in StringIndexer to handle unseen labels with pyspark
## How was this patch tested?
existing tests
testing is done with new doctests
Signed-off-by: VinceShieh <[email protected]>
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/VinceShieh/spark spark-19852
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/17237.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 #17237
----
commit d94dc68a8c1a5c082cf3de6c7e4d429bfd24d817
Author: VinceShieh <[email protected]>
Date: 2017-03-10T06:50:41Z
[SPARK-19852][PYSPARK][ML] Update Python API for StringIndexer
setHandleInvalid
This PR reflect the changes made in SPARK-17498 on pyspark to support a new
option
'keep' in StringIndexer to handle unseen labels
Signed-off-by: VinceShieh <[email protected]>
----
---
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]