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 0b3dbc0 commit 32b23b8Copy full SHA for 32b23b8
mllib/src/main/scala/org/apache/spark/mllib/clustering/LDAOptimizer.scala
@@ -142,8 +142,8 @@ final class EMLDAOptimizer extends LDAOptimizer {
142
this.k = k
143
this.vocabSize = docs.take(1).head._2.size
144
this.checkpointInterval = lda.getCheckpointInterval
145
- this.graphCheckpointer = new
146
- PeriodicGraphCheckpointer[TopicCounts, TokenCount](graph, checkpointInterval)
+ this.graphCheckpointer = new PeriodicGraphCheckpointer[TopicCounts, TokenCount](
+ checkpointInterval, graph.vertices.sparkContext)
147
this.globalTopicTotals = computeGlobalTopicTotals()
148
this
149
}
0 commit comments