July 2017
Beginner to intermediate
486 pages
13h 49m
English
In the word2vec implementation, dynamic context window is an optional technique that may be applied to generate more accurate output. You can also consider these techniques as hyperparameters.
Dynamic context window techniques use weight schema for context words with respect to target words.
So the intuition here is that words that are near to the target word are more important than other words that are far away from the target word.
Let us see how it will be useful when we are building word pairs. Dynamic context window considers that nearby context words hold more importance to predicting the target word. Here, we are applying the weighting scheme by using uniform sampling on the actual window ...
Read now
Unlock full access