diff options
author | Yun Ni <yunn@uber.com> | 2017-02-15 16:26:05 -0800 |
---|---|---|
committer | Yanbo Liang <ybliang8@gmail.com> | 2017-02-15 16:26:05 -0800 |
commit | 08c1972a0661d42f300520cc6e5fb31023de093b (patch) | |
tree | 8b392b4520df66ca32834c11fc376009be70e8b8 /data/mllib/pagerank_data.txt | |
parent | 21b4ba2d6f21a9759af879471715c123073bd67a (diff) | |
download | spark-08c1972a0661d42f300520cc6e5fb31023de093b.tar.gz spark-08c1972a0661d42f300520cc6e5fb31023de093b.tar.bz2 spark-08c1972a0661d42f300520cc6e5fb31023de093b.zip |
[SPARK-18080][ML][PYTHON] Python API & Examples for Locality Sensitive Hashing
## What changes were proposed in this pull request?
This pull request includes python API and examples for LSH. The API changes was based on yanboliang 's PR #15768 and resolved conflicts and API changes on the Scala API. The examples are consistent with Scala examples of MinHashLSH and BucketedRandomProjectionLSH.
## How was this patch tested?
API and examples are tested using spark-submit:
`bin/spark-submit examples/src/main/python/ml/min_hash_lsh.py`
`bin/spark-submit examples/src/main/python/ml/bucketed_random_projection_lsh.py`
User guide changes are generated and manually inspected:
`SKIP_API=1 jekyll build`
Author: Yun Ni <yunn@uber.com>
Author: Yanbo Liang <ybliang8@gmail.com>
Author: Yunni <Euler57721@gmail.com>
Closes #16715 from Yunni/spark-18080.
Diffstat (limited to 'data/mllib/pagerank_data.txt')
0 files changed, 0 insertions, 0 deletions