Github user yanboliang commented on a diff in the pull request:
    --- Diff: R/pkg/R/mllib_clustering.R ---
    @@ -404,11 +411,14 @@ setMethod("summary", signature(object = "LDAModel"),
                 vocabSize <- callJMethod(jobj, "vocabSize")
                 topics <- dataFrame(callJMethod(jobj, "topics", 
                 vocabulary <- callJMethod(jobj, "vocabulary")
    +            trainingLogLikelihood <- callJMethod(jobj, 
    +            logPrior <- callJMethod(jobj, "logPrior")
    --- End diff --
    In MLlib, if the model is ```DistributedLDAModel```, it has variables 
called ```trainingLogLikelihood``` and ```logPrior```. If the model is 
```LocalLDAModel```, there is no above variables exist, we can not tell users 
whether they are numeric. So I'd prefer ```NULL``` to represent not existing.

If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at or file a JIRA ticket
with INFRA.

To unsubscribe, e-mail:
For additional commands, e-mail:

Reply via email to