MCPcopy Create free account
hub / github.com/devAmoghS/Machine-Learning-with-Python / topic_weight

Function topic_weight

natural_language_processing/utils.py:194–197  ·  view source on GitHub ↗

given a document and a word in that document, return the weight for the k-th topic

(d, word, k)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

choose_new_topicFunction · 0.85

Calls 2

p_word_given_topicFunction · 0.85
p_topic_given_documentFunction · 0.85

Tested by

no test coverage detected