You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spark.apache.org by jk...@apache.org on 2016/03/30 23:57:42 UTC

spark git commit: [MINOR][ML] Fix the wrong param name of LDA topicDistributionCol

Repository: spark
Updated Branches:
  refs/heads/master 529d6ce8f -> 5dc948e81


[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 <yb...@gmail.com>

Closes #12065 from yanboliang/lda-topicDistributionCol.


Project: http://git-wip-us.apache.org/repos/asf/spark/repo
Commit: http://git-wip-us.apache.org/repos/asf/spark/commit/5dc948e8
Tree: http://git-wip-us.apache.org/repos/asf/spark/tree/5dc948e8
Diff: http://git-wip-us.apache.org/repos/asf/spark/diff/5dc948e8

Branch: refs/heads/master
Commit: 5dc948e8125fd27646a7f1e8991948a45b3f9c50
Parents: 529d6ce
Author: Yanbo Liang <yb...@gmail.com>
Authored: Wed Mar 30 14:57:38 2016 -0700
Committer: Joseph K. Bradley <jo...@databricks.com>
Committed: Wed Mar 30 14:57:38 2016 -0700

----------------------------------------------------------------------
 mllib/src/main/scala/org/apache/spark/ml/clustering/LDA.scala | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/spark/blob/5dc948e8/mllib/src/main/scala/org/apache/spark/ml/clustering/LDA.scala
----------------------------------------------------------------------
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 fe6a37f..60cc345 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.")
 


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@spark.apache.org
For additional commands, e-mail: commits-help@spark.apache.org