We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 26dca1b commit f41c5caCopy full SHA for f41c5ca
mllib/src/main/scala/org/apache/spark/mllib/clustering/LDA.scala
@@ -252,8 +252,6 @@ class LDA private (
252
state.graphCheckpointer.deleteAllCheckpoints()
253
new DistributedLDAModel(state, iterationTimes)
254
case LDAMode.Online =>
255
- //todo: delete the comment in next line
256
- // I changed the return type to LDAModel, as DistributedLDAModel is based on Graph.
257
val vocabSize = documents.first._2.size
258
val onlineLDA = new LDA.OnlineLDAOptimizer(documents, k, vocabSize)
259
var iter = 0
0 commit comments