How to understand the output of Topic Model class in Mallet?

前端 未结 3 562
难免孤独
难免孤独 2021-02-03 11:49

As I\'m trying out the examples code on topic modeling developer\'s guide, I really want to understand the meaning of the output of that code.

First during the running p

3条回答
  •  庸人自扰
    2021-02-03 12:31

    what I understand is that:

    0   0.008   battle (8) union (7) confederate (6) grant (4) tennessee (4)   
    
    • 0 is the topic number.
    • 0.008 is the weight of such topic
    • battle (8) union (7) [...] are the top-keywords in such topic. The numbers are the occurrences of the word in the topic.

    Then, as result, you also obtain a .csv file. I think it contains the most important data of the process. You will find values like the following for each row:

    0   0   285 10   page make items thing work put dec browsers recipes expressions 
    

    That is:

    1. Tree level
    2. Topic ID
    3. Total words
    4. Total documents
    5. Top-10 words

    A little bit late, but I hope it helps someone

提交回复
热议问题