GitHub user WeichenXu123 opened a pull request:
https://github.com/apache/spark/pull/19753
[SPARK-22521][ML] VectorIndexerModel support handle unseen categories via
handleInvalid: Python API
## What changes were proposed in this pull request?
Add python api for VectorIndexerModel support handle unseen categories via
handleInvalid.
## How was this patch tested?
doctest added.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/WeichenXu123/spark vector_indexer_invalid_py
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/19753.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 #19753
----
commit 108ce2b1daa6b9b9082222c8791654433e90c666
Author: WeichenXu <[email protected]>
Date: 2017-11-15T06:04:56Z
init pr
----
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]