Like Word2vec is not a single algorithm but combination of two, namely, CBOW and Skip-Gram model; is Doc2Vec also a combination of any such algorithms? Or is it an algorithm in itself?
Asked
Active
Viewed 2,164 times
3 Answers
4
Word2Vec is not a combination of two models, rather both are variants of word2vec. Similarly doc2vec has Distributed Memory(DM) model and Distributed Bag of words (DBOW) model. Based on the context words and the target word, these variants arised.
Note: the name of the model maybe confusing
Distriubted Bag of wordsis similar toSkip-gram modelDistributed Memoryis similar toContinuous bag of words model
chmodsss
- 1,974
- 2
- 19
- 37
1
Documentation says:
Deep learning via the distributed memory and distributed bag of words models from [1], using either hierarchical softmax or negative sampling [2], [3].
Damian Melniczuk
- 649
- 4
- 19
1
Distributed Memory model preserves the word order in a document whereas Distributed Bag of words just uses the bag of words approach, which doesn't preserve any word order.
This has been explained in details in this research paper.
Stephen Rauch
- 1,831
- 11
- 23
- 34
Deepak Mishra
- 11
- 1
- 3