aboutsummaryrefslogtreecommitdiff
path: root/mllib
diff options
context:
space:
mode:
authorMeihua Wu <meihuawu@umich.edu>2015-08-01 17:13:28 -0700
committerJoseph K. Bradley <joseph@databricks.com>2015-08-01 17:13:28 -0700
commit84a6982b35d87483bdf70ef4423cc4c8e0c3feb1 (patch)
treebb29dc37b5e07f17e0dff9fbb33959d2e7ef5fbd /mllib
parent3d1535d48822281953de1e8447de86fad728412a (diff)
downloadspark-84a6982b35d87483bdf70ef4423cc4c8e0c3feb1.tar.gz
spark-84a6982b35d87483bdf70ef4423cc4c8e0c3feb1.tar.bz2
spark-84a6982b35d87483bdf70ef4423cc4c8e0c3feb1.zip
[SPARK-9530] [MLLIB] ScalaDoc should not indicate LDAModel.describeTopics and DistributedLDAModel.topDocumentsPerTopic as approximate
Remove ScalaDoc that suggests describeTopics and topDocumentsPerTopic are approximate. cc jkbradley Author: Meihua Wu <meihuawu@umich.edu> Closes #7858 from rotationsymmetry/SPARK-9530 and squashes the following commits: b574923 [Meihua Wu] Remove ScalaDoc that suggests describeTopics and topDocumentsPerTopic are approximate.
Diffstat (limited to 'mllib')
-rw-r--r--mllib/src/main/scala/org/apache/spark/mllib/clustering/LDAModel.scala7
1 files changed, 0 insertions, 7 deletions
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 0cdac84eeb..6af90d7287 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).