Skip to content

Commit a41f95d

Browse files
committed
change return type
1 parent 488bbb2 commit a41f95d

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

mllib/src/main/scala/org/apache/spark/mllib/clustering/LDAOptimizer.scala

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,9 @@ final class EMLDAOptimizer extends LDAOptimizer {
9595
/**
9696
* Compute bipartite term/doc graph.
9797
*/
98-
override private[clustering] def initialize(docs: RDD[(Long, Vector)], lda: LDA): LDAOptimizer = {
98+
override private[clustering] def initialize(
99+
docs: RDD[(Long, Vector)],
100+
lda: LDA): EMLDAOptimizer = {
99101
// EMLDAOptimizer currently only supports symmetric document-topic priors
100102
val docConcentration = lda.getDocConcentration
101103

0 commit comments

Comments
 (0)