How come probabilities returned by Gensim LSI method show_topics are negative?

后端 未结 1 562
孤独总比滥情好
孤独总比滥情好 2021-01-26 08:07

(0, \'0.707*"उत्तरपश्चिमी" + 0.707*"यूरोप" + -0.000"बुद्ध" + -0.000*"जन्म" + \' \'0.000*"बेल्जियम" +

相关标签:
1条回答
  • 2021-01-26 08:54

    Thanks for using SO.

    The show_topics provides you the most significant topics from the corpus. The probabilities that you see are the contribution from each word towards the topic. For e.g. "उत्तरपश्चिमी" and "यूरोप" have contribution of 0.707 each while "बेल्जियम" has 0.000 contribution towards defining this topic.

    When showing the contribution of word, the model displays the greatest absolute value but due to truncation of floating numbers that are close to 0( say -0.0000008),they are shown as -0.00.

    References: https://radimrehurek.com/gensim/models/lsimodel.html

    0 讨论(0)
提交回复
热议问题