Comments (2)
Try Python 3. If that doesn't work, tell me what the contents of line
are.
from tatom.
I resolved this error, thank you. If I remember correctly, I split the line by hand, and then I subplot it again. All is good on my end:
parse the database of previously created topics
with open( database ) as f :
f.readline()
for line in f :
values = line.rstrip().split( '\t' )
index = values.pop( 0 )
document = values.pop( 0 )
documents.append( document )
for topic, share in grouper( 2, values ) : triples.append( ( document, int( topic ), float( share ) ) )
from tatom.
Related Issues (19)
- Clarify target audience / insert clarifications of underlying concepts
- Webpage does not display correctly in Linux (chromium-browser and firefox) HOT 1
- UnicodeDecodeError HOT 1
- SyntaxError: invalid syntax on Topic Modeling script HOT 2
- Topic modeling_Split the novels HOT 2
- Using PunktWordTokenizer
- Page not found https://de.dariah.eu/tatom/ HOT 4
- IndexError - Topic Modeling with Mallet Tutorial HOT 1
- Is this a typo? HOT 1
- Host this material?
- Add discussion of pandas (in lieu of numpy?) HOT 4
- build in some sort of sidebar
- try getting jquery fancybox working for images
- mention nltk's MALLET wrapper
- Installation of sklearn for Python3 on Linux HOT 2
- Build TAToM on Ubuntu 14.04 with Python 3.4 HOT 1
- Bayesian Group Comparison Typos HOT 1
- Installing Python packages on Debian-based systems 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 tatom.