GitHub user facaiy opened a pull request:

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

    [SPARK-21481][ML] Add indexOf method for ml.feature.HashingTF

    ## What changes were proposed in this pull request?
    
    Add indexOf method for ml.feature.HashingTF.
    
    The PR is a hotfix by storing hashingTF.
    I believe it is better to migrate native implement from mllib to ml. I can 
work on it, but I don't know whether to open an new JIRA for migrating or not.
    
    ## How was this patch tested?
    
    + [x] add a test case.
    
    Please review http://spark.apache.org/contributing.html before opening a 
pull request.


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

    $ git pull https://github.com/facaiy/spark ENH/add_indexOf_for_ml

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

    https://github.com/apache/spark/pull/18736.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 #18736
    
----
commit f08861d64390f0eb4d7e34de13d78db67e046457
Author: Yan Facai (颜发才) <facai....@gmail.com>
Date:   2017-07-26T05:45:37Z

    hotfix: store hashingTF to reuse indexOf

commit 174a2d57ebeccba10b8f1435970cde69f5829c79
Author: Yan Facai (颜发才) <facai....@gmail.com>
Date:   2017-07-26T06:14:37Z

    TST: add test case

----


---
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to