How to Solve NameError: name 'doc2vec' is not defined -- gensim
Solution: Import the 'doc2vec' module
To Solve the error, add the following line to the top of your code.
from gensim.models import doc2vec
For more information:
Python gensim doc2vec