{"action":"created","issue":{"url":"https://api.github.com/repos/apache/spark/issues/15874","repository_url":"https://api.github.com/repos/apache/spark","labels_url":"https://api.github.com/repos/apache/spark/issues/15874/labels{/name}","comments_url":"https://api.github.com/repos/apache/spark/issues/15874/comments","events_url":"https://api.github.com/repos/apache/spark/issues/15874/events","html_url":"https://github.com/apache/spark/pull/15874","id":189027765,"number":15874,"title":"[Spark-18408] API Improvements for LSH","user":{"login":"Yunni","id":6089987,"avatar_url":"https://avatars.githubusercontent.com/u/6089987?v=3","gravatar_id":"","url":"https://api.github.com/users/Yunni","html_url":"https://github.com/Yunni","followers_url":"https://api.github.com/users/Yunni/followers","following_url":"https://api.github.com/users/Yunni/following{/other_user}","gists_url":"https://api.github.com/users/Yunni/gists{/gist_id}","starred_url":"https://api.github.com/users/Yunni/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Yunni/subscriptions","organizations_url":"https://api.github.com/users/Yunni/orgs","repos_url":"https://api.github.com/users/Yunni/repos","events_url":"https://api.github.com/users/Yunni/events{/privacy}","received_events_url":"https://api.github.com/users/Yunni/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-11-14T04:43:55Z","updated_at":"2016-11-14T05:52:11Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/apache/spark/pulls/15874","html_url":"https://github.com/apache/spark/pull/15874","diff_url":"https://github.com/apache/spark/pull/15874.diff","patch_url":"https://github.com/apache/spark/pull/15874.patch"},"body":"## What changes were proposed in this pull request?\r\n\r\n(1) Change output schema to `Array of Vector` instead of `Vectors`\r\n(2) Use `numHashTables` as the dimension of Array and `numHashFunctions` as the dimension of Vector\r\n(3) Rename `RandomProjection` to `BucketedRandomProjectionLSH`, `MinHash` to `MinHashLSH`\r\n(4) Make `randUnitVectors/randCoefficients` private\r\n(5) Make Multi-Probe NN Search and `hashDistance` private for future discussion\r\n\r\n## How was this patch tested?\r\nRelated unit tests are modified to make sure the performance of LSH are ensured, and the outputs of the APIs meets expectation."},"comment":{"url":"https://api.github.com/repos/apache/spark/issues/comments/260253958","html_url":"https://github.com/apache/spark/pull/15874#issuecomment-260253958","issue_url":"https://api.github.com/repos/apache/spark/issues/15874","id":260253958,"user":{"login":"AmplabJenkins","id":4031291,"avatar_url":"https://avatars.githubusercontent.com/u/4031291?v=3","gravatar_id":"","url":"https://api.github.com/users/AmplabJenkins","html_url":"https://github.com/AmplabJenkins","followers_url":"https://api.github.com/users/AmplabJenkins/followers","following_url":"https://api.github.com/users/AmplabJenkins/following{/other_user}","gists_url":"https://api.github.com/users/AmplabJenkins/gists{/gist_id}","starred_url":"https://api.github.com/users/AmplabJenkins/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AmplabJenkins/subscriptions","organizations_url":"https://api.github.com/users/AmplabJenkins/orgs","repos_url":"https://api.github.com/users/AmplabJenkins/repos","events_url":"https://api.github.com/users/AmplabJenkins/events{/privacy}","received_events_url":"https://api.github.com/users/AmplabJenkins/received_events","type":"User","site_admin":false},"created_at":"2016-11-14T05:52:11Z","updated_at":"2016-11-14T05:52:11Z","body":"Test PASSed.\nRefer to this link for build results (access rights to CI server needed): \nhttps://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/68601/\nTest PASSed."}}
{"actor":{"display_login":"AmplabJenkins"}}