Joseph K. Bradley created SPARK-5567:
----------------------------------------

             Summary: Add prediction methods to LDA
                 Key: SPARK-5567
                 URL: https://issues.apache.org/jira/browse/SPARK-5567
             Project: Spark
          Issue Type: Improvement
          Components: MLlib
    Affects Versions: 1.3.0
            Reporter: Joseph K. Bradley


LDA currently supports prediction on the training set.  E.g., you can call 
logLikelihood and topicDistributions to get that info for the training data.  
However, it should support the same functionality for new (test) documents.

This will require inference but should be able to use the same code, with a few 
modification to keep the inferred topics fixed.

Note: The API for these methods is already in the code but is commented out.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to