Mathieu DESPRIEE created SPARK-21257:
----------------------------------------

             Summary: LDA : create an Evaluator to enable cross validation
                 Key: SPARK-21257
                 URL: https://issues.apache.org/jira/browse/SPARK-21257
             Project: Spark
          Issue Type: New Feature
          Components: ML
    Affects Versions: 2.1.1
            Reporter: Mathieu DESPRIEE


I suggest the creation of an LDAEvaluator to use with CrossValidator, using 
logPerplexity as a metric for evaluation.

Unfortunately, the computation of perplexity needs to access some internal data 
of the model, and the current implementation of CrossValidator does not pass 
the model being evaluated to the Evaluator. 
A way could be to change the Evaluator.evaluate() method to pass the model 
along with the dataset.




--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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

Reply via email to