Vatsal
Mar 14, 2022

--

I believe the following stack overflow thread addresses this issue : https://stackoverflow.com/questions/53195906/getting-init-got-an-unexpected-keyword-argument-document-this-error-in

I reran the notebook associated to this tutorial which you can find : https://github.com/vatsal220/medium_articles/blob/main/n2v/n2v.py

and everything seems to work.

If this still doesn't work then it might be a versioning issue regarding the modules node2vec and gensim. The installation requirements & versions for this pipeline can be found here : https://github.com/vatsal220/medium_articles/blob/main/n2v/requirements.txt

If you still get an error, I'd advise opening a thread on stackoverflow.

--

--

Responses (1)