diff --git a/mllib/src/main/scala/org/apache/spark/mllib/clustering/LDAModel.scala b/mllib/src/main/scala/org/apache/spark/mllib/clustering/LDAModel.scala index 0cdac84eeb5915097797d51748e7f768bc34d703..6af90d7287ff8c63f4ad4fcce4ca169ee05b6969 100644 --- a/mllib/src/main/scala/org/apache/spark/mllib/clustering/LDAModel.scala +++ b/mllib/src/main/scala/org/apache/spark/mllib/clustering/LDAModel.scala @@ -86,10 +86,6 @@ abstract class LDAModel private[clustering] extends Saveable { /** * Return the topics described by weighted terms. * - * This limits the number of terms per topic. - * This is approximate; it may not return exactly the top-weighted terms for each topic. - * To get a more precise set of top terms, increase maxTermsPerTopic. - * * @param maxTermsPerTopic Maximum number of terms to collect for each topic. * @return Array over topics. Each topic is represented as a pair of matching arrays: * (term indices, term weights in topic). @@ -519,9 +515,6 @@ class DistributedLDAModel private[clustering] ( /** * Return the top documents for each topic * - * This is approximate; it may not return exactly the top-weighted documents for each topic. - * To get a more precise set of top documents, increase maxDocumentsPerTopic. - * * @param maxDocumentsPerTopic Maximum number of documents to collect for each topic. * @return Array over topics. Each element represent as a pair of matching arrays: * (IDs for the documents, weights of the topic in these documents).