'word2vec - output probablity (hierarchical softmax)
I am using word2vec (CBOW) to get similarities of words in my own corpus. I am using hierarchical softmax, and now I want to get output probabilities for each word given context word.
Currently, I am calculating probabilities for each word using this softmax formula given in the image below, but it is not efficient.
The hierarchical softmax optimizes this by using Huffman coding, I want to access these probabilities. Can anyone guide me on how can I access this using gensim? Note: The above images are taken from this article
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|


