aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYanbo Liang <ybliang8@gmail.com>2016-03-30 14:57:38 -0700
committerJoseph K. Bradley <joseph@databricks.com>2016-03-30 14:57:38 -0700
commit5dc948e8125fd27646a7f1e8991948a45b3f9c50 (patch)
tree96c98b47df59dd5a9680be705950b101cd3b128a
parent529d6ce8f96ef2b4a57c2d9066c7d80466e36209 (diff)
downloadspark-5dc948e8125fd27646a7f1e8991948a45b3f9c50.tar.gz
spark-5dc948e8125fd27646a7f1e8991948a45b3f9c50.tar.bz2
spark-5dc948e8125fd27646a7f1e8991948a45b3f9c50.zip
[MINOR][ML] Fix the wrong param name of LDA topicDistributionCol
## What changes were proposed in this pull request? Fix the wrong param name of LDA ```topicDistributionCol```. ## How was this patch tested? No tests. cc jkbradley Author: Yanbo Liang <ybliang8@gmail.com> Closes #12065 from yanboliang/lda-topicDistributionCol.
-rw-r--r--mllib/src/main/scala/org/apache/spark/ml/clustering/LDA.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/mllib/src/main/scala/org/apache/spark/ml/clustering/LDA.scala b/mllib/src/main/scala/org/apache/spark/ml/clustering/LDA.scala
index fe6a37fd6d..60cc345565 100644
--- a/mllib/src/main/scala/org/apache/spark/ml/clustering/LDA.scala
+++ b/mllib/src/main/scala/org/apache/spark/ml/clustering/LDA.scala
@@ -176,7 +176,7 @@ private[clustering] trait LDAParams extends Params with HasFeaturesCol with HasM
* @group param
*/
@Since("1.6.0")
- final val topicDistributionCol = new Param[String](this, "topicDistribution", "Output column" +
+ final val topicDistributionCol = new Param[String](this, "topicDistributionCol", "Output column" +
" with estimates of the topic mixture distribution for each document (often called \"theta\"" +
" in the literature). Returns a vector of zeros for an empty document.")