tmoravec / thematic Goto Github PK
View Code? Open in Web Editor NEWMaking sense of large and noisy FB pages
Home Page: https://tadeas.github.io/thematic/
Making sense of large and noisy FB pages
Home Page: https://tadeas.github.io/thematic/
Hello
I have some problems working with your nice python files and I think if you may or can help me with this "k" error.
c:\Python36\osint\topic-analyst>py -3.6 process.py islamiromania.pkl
C:\Python36\lib\site-packages\gensim\utils.py:855: UserWarning: detected Windows
; aliasing chunkize to chunkize_serial
warnings.warn("detected Windows; aliasing chunkize to chunkize_serial")
Slow version of gensim.models.doc2vec is being used
Sun Mar 19 12:00:00 2017 Loading data.
Sun Mar 19 12:00:02 2017 Starting to vectorize.
Sun Mar 19 12:00:07 2017 min_df: 3
Sun Mar 19 12:00:07 2017 Tfidf ignores 21030 terms.
Sun Mar 19 12:00:07 2017 Tfidf matrix shape: (79, 212)
Sun Mar 19 12:00:07 2017 Generating 200 LSA components and normalizing
Traceback (most recent call last):
File "process.py", line 492, in
main()
File "process.py", line 487, in main
text_clustering(raw_data, pagename)
File "process.py", line 402, in text_clustering
X = get_features_lsa(tf)
File "process.py", line 349, in get_features_lsa
X = lsa.fit_transform(tf)
File "C:\Python36\lib\site-packages\sklearn\pipeline.py", line 301, in fit_tra
nsform
Xt, fit_params = self._fit(X, y, **fit_params)
File "C:\Python36\lib\site-packages\sklearn\pipeline.py", line 234, in _fit
Xt = transform.fit_transform(Xt, y, **fit_params_steps[name])
File "C:\Python36\lib\site-packages\sklearn\decomposition\truncated_svd.py", l
ine 159, in fit_transform
U, Sigma, VT = svds(X, k=self.n_components, tol=self.tol)
File "C:\Python36\lib\site-packages\scipy\sparse\linalg\eigen\arpack\arpack.py
", line 1714, in svds
raise ValueError("k must be between 1 and min(A.shape), k=%d" % k)
ValueError: k must be between 1 and min(A.shape), k=200
Thank you!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.