Skip to content

Commit

Permalink
fixed usage of checkpointer in lda
Browse files Browse the repository at this point in the history
  • Loading branch information
jkbradley committed Jul 30, 2015
1 parent 0b3dbc0 commit 32b23b8
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -142,8 +142,8 @@ final class EMLDAOptimizer extends LDAOptimizer {
this.k = k
this.vocabSize = docs.take(1).head._2.size
this.checkpointInterval = lda.getCheckpointInterval
this.graphCheckpointer = new
PeriodicGraphCheckpointer[TopicCounts, TokenCount](graph, checkpointInterval)
this.graphCheckpointer = new PeriodicGraphCheckpointer[TopicCounts, TokenCount](
checkpointInterval, graph.vertices.sparkContext)
this.globalTopicTotals = computeGlobalTopicTotals()
this
}
Expand Down

0 comments on commit 32b23b8

Please sign in to comment.