aboutsummaryrefslogtreecommitdiff
path: root/sql
diff options
context:
space:
mode:
authorYu ISHIKAWA <yuu.ishikawa@gmail.com>2015-11-06 22:56:29 -0800
committerDavies Liu <davies.liu@gmail.com>2015-11-06 22:56:29 -0800
commit2ff0e79a8647cca5c9c57f613a07e739ac4f677e (patch)
tree8f79d410c855c4099f572b4b1eba1fd858e83aff /sql
parent7f741905b06ed6d3dfbff6db41a3355dab71aa3c (diff)
downloadspark-2ff0e79a8647cca5c9c57f613a07e739ac4f677e.tar.gz
spark-2ff0e79a8647cca5c9c57f613a07e739ac4f677e.tar.bz2
spark-2ff0e79a8647cca5c9c57f613a07e739ac4f677e.zip
[SPARK-8467] [MLLIB] [PYSPARK] Add LDAModel.describeTopics() in Python
Could jkbradley and davies review it? - Create a wrapper class: `LDAModelWrapper` for `LDAModel`. Because we can't deal with the return value of`describeTopics` in Scala from pyspark directly. `Array[(Array[Int], Array[Double])]` is too complicated to convert it. - Add `loadLDAModel` in `PythonMLlibAPI`. Since `LDAModel` in Scala is an abstract class and we need to call `load` of `DistributedLDAModel`. [[SPARK-8467] Add LDAModel.describeTopics() in Python - ASF JIRA](https://issues.apache.org/jira/browse/SPARK-8467) Author: Yu ISHIKAWA <yuu.ishikawa@gmail.com> Closes #8643 from yu-iskw/SPARK-8467-2.
Diffstat (limited to 'sql')
0 files changed, 0 insertions, 0 deletions