You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Ilya Ganelin (JIRA)" <ji...@apache.org> on 2015/12/22 22:23:46 UTC

[jira] [Created] (SPARK-12488) LDA Describe Topics Generates Invalid Term IDs

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-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org