GitHub user supremekai opened a pull request:
https://github.com/apache/spark/pull/14394
[SPARK-16786] [Python] [WIP] LDA topic distributions API Call for python
## What changes were proposed in this pull request?
Implemented python call to topicDistributions for
pyspark.clustering.mllib.LDAModel
## How was this patch tested?
Ran ./dev/run-tests, all passing
Manually verified.
Used function parameter types, return types etc. from existing API calls so
all behaviour is consistent with existing behaviour.
(If this patch involves UI changes, please attach a screenshot; otherwise,
remove this)
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/supremekai/spark pyspark-topic-distributions
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/14394.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 #14394
----
commit 00d93ccba2cfbc298f820d3d4391c4ad11211b4f
Author: Jordan <[email protected]>
Date: 2016-07-28T22:58:09Z
Added pyspark API call to MLlib LDAModel topicDistributions function
commit 5f36d785a689d21cb4392f56a30afdc8188bbc2a
Author: Jordan <[email protected]>
Date: 2016-07-29T01:12:37Z
Fixed imports and styling
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]