GitHub user holdenk opened a pull request:

    https://github.com/apache/spark/pull/7266

    [SPARK-8764][ML] string indexer should take option to handle unseen values

    As a precursor to adding a public constructor add an option to handle 
unseen values by skipping rather than throwing an exception (default remains 
throwing an exception),

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/holdenk/spark 
SPARK-8764-string-indexer-should-take-option-to-handle-unseen-values

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/spark/pull/7266.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 #7266
    
----
commit afecd4e7eae8b129eea6ece7ff443e208d2cd2cf
Author: Holden Karau <[email protected]>
Date:   2015-07-07T18:47:43Z

    Add a param to skip invalid entries.

commit b5734befde20e5a6b33c30318b423faf49fbaab9
Author: Holden Karau <[email protected]>
Date:   2015-07-07T20:29:09Z

    Add support for unseen labels

commit d69ef5e183ec6a709c903316ca7e4d9c11b80726
Author: Holden Karau <[email protected]>
Date:   2015-07-07T20:48:12Z

    Add a 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]

Reply via email to