Ilya Ganelin created SPARK-12488:
------------------------------------

             Summary: LDA Describe Topics Generates Invalid Term IDs
                 Key: SPARK-12488
                 URL: https://issues.apache.org/jira/browse/SPARK-12488
             Project: Spark
          Issue Type: Bug
          Components: MLlib
    Affects Versions: 1.5.2
            Reporter: Ilya Ganelin


When running the LDA model, and using the describeTopics function, invalid 
values appear in the termID list that is returned:

{code}

    // Set LDA parameters
    val numTopics = 10
    val lda = new LDA().setK(numTopics).setMaxIterations(10)

    val ldaModel = lda.run(docTermVector)
    val distModel = 
ldaModel.asInstanceOf[org.apache.spark.mllib.clustering.DistributedLDAModel]
{code}



--
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