Skip to content

Commit 882c70d

Browse files
committed
improve comment
1 parent b72592c commit 882c70d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mllib/src/main/scala/org/apache/spark/ml/r/LDAWrapper.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ private[r] class LDAWrapper private (
4646

4747
private val lda: LDAModel = pipeline.stages.last.asInstanceOf[LDAModel]
4848

49-
// Only applicable to distributed lda model
49+
// The following variables were called by R side code only when the LDA model is distributed
5050
lazy private val distributedModel =
5151
pipeline.stages.last.asInstanceOf[DistributedLDAModel]
5252
lazy val trainingLogLikelihood: Double = distributedModel.trainingLogLikelihood

0 commit comments

Comments
 (0)