Github user jkbradley commented on a diff in the pull request:
https://github.com/apache/spark/pull/7769#discussion_r36007413
--- Diff:
mllib/src/main/scala/org/apache/spark/mllib/clustering/LDAModel.scala ---
@@ -361,6 +361,43 @@ class DistributedLDAModel private (
}
}
+ /**
+ * Return the top documents for each topic
+ *
+ * This is approximate; it may not return exactly the top-weighted
documents for each topic.
--- End diff --
Btw, I had thought this originally, but is this actually approximate? I
think it's exact. But I'm pretty tired, so it would be great to get
confirmation from you @rotationsymmetry and @hhbyyh
---
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]