GitHub user ludatabricks opened a pull request:
https://github.com/apache/spark/pull/21015
[SPARK-23944][ML] Add the set method for the two LSHModel
## What changes were proposed in this pull request?
Add two set method for LSHModel in LSH.scala,
BucketedRandomProjectionLSH.scala, and MinHashLSH.scala
## How was this patch tested?
New test for the param setup was added into
- BucketedRandomProjectionLSHSuite.scala
- MinHashLSHSuite.scala
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/ludatabricks/spark-1 SPARK-23944
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/21015.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 #21015
commit 9f16ea6f15572a8d189fe537844487abdea797b4
Author: Lu WANG
Date: 2018-04-09T21:56:48Z
Add the set method for two LSHModels
---
-
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org