diff options
author | Asher Krim <akrim@hubspot.com> | 2017-03-07 20:36:46 -0800 |
---|---|---|
committer | Joseph K. Bradley <joseph@databricks.com> | 2017-03-07 20:36:46 -0800 |
commit | 56e1bd337ccb03cb01702e4260e4be59d2aa0ead (patch) | |
tree | 333318184a59e5bc6cdcf482aad717ed84408e72 /repl/scala-2.11/src/test | |
parent | d8830c5039d9c7c5ef03631904c32873ab558e22 (diff) | |
download | spark-56e1bd337ccb03cb01702e4260e4be59d2aa0ead.tar.gz spark-56e1bd337ccb03cb01702e4260e4be59d2aa0ead.tar.bz2 spark-56e1bd337ccb03cb01702e4260e4be59d2aa0ead.zip |
[SPARK-17629][ML] methods to return synonyms directly
## What changes were proposed in this pull request?
provide methods to return synonyms directly, without wrapping them in a dataframe
In performance sensitive applications (such as user facing apis) the roundtrip to and from dataframes is costly and unnecessary
The methods are named ``findSynonymsArray`` to make the return type clear, which also implies a local datastructure
## How was this patch tested?
updated word2vec tests
Author: Asher Krim <akrim@hubspot.com>
Closes #16811 from Krimit/w2vFindSynonymsLocal.
Diffstat (limited to 'repl/scala-2.11/src/test')
0 files changed, 0 insertions, 0 deletions