Comments (5)
I am not sure what the exact number is but 1000+ is usually good. I will look at setting a threshold in the future. Also if you are using fewer documents, try setting min_count
to 1. That could also help. min_count
ignores all words with total frequency lower than this. For smaller corpora a smaller min_count
will be necessary.
from top2vec.
what is the variable allSents
?
from top2vec.
That's the same allSents = newsgroups.data
from top2vec.
Try creating a fresh environment and pip installing top2vec.
from top2vec.
That worked, when I used newsgroups.data
but when I use plain sentences of length 300(list) it again shows me the error curious to know if there is any minimum requirement of sentences that should be used for documents?
from top2vec.
Related Issues (20)
- Retrieve vector representation of document, group of documents, word, group of words, etc
- embedding_model is not available HOT 1
- Error saving file HOT 3
- online topic modelling
- How to generate and view the document vector using Top2Vec?
- TypeError: 'numpy.float64' object cannot be interpreted as an integer HOT 6
- Top2Vec universal sentence encoder creating a float somewhere?
- top2vec[sentence_encoders] and top2vec[indexing] cannot be installed locally HOT 1
- Noise topic HOT 1
- how to get a topic vector for a particular topic(cluster) HOT 1
- topic_indexed --> topics_indexed HOT 1
- 'Top2Vec' object has no attribute 'documents_indexed' HOT 2
- Issue with Pickling in Top2Vec v1.0.34
- Doc2Vec
- The parameter 'token_pattern' will not be used since 'tokenizer' is not None'
- "model.generate_topic_wordcloud"Can it be used in Chinese? HOT 3
- Error installing top2vec[sentence_encoders] HOT 2
- Clarification on Reusing a pretrained saved top2vec model
- rationale for finding topic words on original (non-reduced) vectors
- AttributeError: module 'keras._tf_keras.keras' has no attribute '__internal__' HOT 1
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.
from top2vec.