python-misc's People
python-misc's Issues
'Doc2VecKeyedVectors' object has no attribute 'ffset2doctag'
Thanks for your code and for share it. I'm trying to use this script but I'm receiving the following error at the end of the execution, I've tried to search about this issue but it seems that's a problem with the "docvecs" library, but none of the results explain about the function returning error, it seems that the generated object has not indexes, but when I print the object it returns data, so I don't know what's the issue exactly, here's the error:
Traceback (most recent call last):
File "tweets-analysis.py", line 172, in <module>
main()
File "tweets-analysis.py", line 169, in main
clusterTweetsKmeans(cleaned_tweets)
File "tweets-analysis.py", line 143, in clusterTweetsKmeans
tag = model.docvecs.index_to_doctag( i )
File "/local/lib/python2.7/site-packages/gensim/models/keyedvectors.py", line 1518, in index_to_doctag
return self.ffset2doctag[candidate_offset]
AttributeError: 'Doc2VecKeyedVectors' object has no attribute 'ffset2doctag'
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.