Repository: spark Updated Branches: refs/heads/master 1a45d2b2c -> ef3c73535
[SPARK-19694][ML] Add missing 'setTopicDistributionCol' for LDAModel ## What changes were proposed in this pull request? Add missing 'setTopicDistributionCol' for LDAModel ## How was this patch tested? existing tests Author: Zheng RuiFeng <ruife...@foxmail.com> Closes #17021 from zhengruifeng/lda_outputCol. Project: http://git-wip-us.apache.org/repos/asf/spark/repo Commit: http://git-wip-us.apache.org/repos/asf/spark/commit/ef3c7353 Tree: http://git-wip-us.apache.org/repos/asf/spark/tree/ef3c7353 Diff: http://git-wip-us.apache.org/repos/asf/spark/diff/ef3c7353 Branch: refs/heads/master Commit: ef3c73535f0b521905839f2050a77a99fd4c36cd Parents: 1a45d2b Author: Zheng RuiFeng <ruife...@foxmail.com> Authored: Wed Feb 22 16:33:14 2017 +0200 Committer: Nick Pentreath <ni...@za.ibm.com> Committed: Wed Feb 22 16:33:14 2017 +0200 ---------------------------------------------------------------------- mllib/src/main/scala/org/apache/spark/ml/clustering/LDA.scala | 3 +++ 1 file changed, 3 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/spark/blob/ef3c7353/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 bbcef35..55720e2 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 @@ -437,6 +437,9 @@ abstract class LDAModel private[ml] ( @Since("1.6.0") def setFeaturesCol(value: String): this.type = set(featuresCol, value) + @Since("2.2.0") + def setTopicDistributionCol(value: String): this.type = set(topicDistributionCol, value) + /** @group setParam */ @Since("1.6.0") def setSeed(value: Long): this.type = set(seed, value) --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@spark.apache.org For additional commands, e-mail: commits-h...@spark.apache.org