covid19_media's People
covid19_media's Issues
Experiment Intervention predictions using topic mixture on GPHIN data
For the new GPHIN data created by the GPHIN scraper, experiment on topic mixture ETM, METM, D-ETM and DM-ETM
Add Travic CI to repo for deployment
Travis-CI configuration link : https://travis-ci.org/
Create virtual environment for dependencies
Virtual environments are a great way to have all dependencies from a python code using only one command, pip freeze. I'll also add in the readme how to create your own local virtual environment before cloning this repo.
[IndexError] : Index out of bound error on adding large datasets to DMETM
Expected Behavior
The DMETM code by running python main.py --mode train --dataset "GPHIN" --datapath data/GPHIN --num_topics 10 --train_source_embeddings 1 --epochs 10 --min_df 10
should start running and giving epoch, since the data in min_df_10
has timestamps now.
Current Behavior
Index out of bound error is appearing under Getting training data ...
for file data.py line 104.
Possible Solution
Add piece of code under a try catch exception that continues the for loop in case this index out of bound error appears.
Steps to Reproduce
- Add either the official csv or the online parsed csv from the
data
folder underDMETM/data/GPHIN
and rename the csv file to gphin.csv - Navigate to the folder
DMETM/scripts
and runpython data_gphin.py
. You should a new folder titled min_df_10 appearing underDMETM/data/GPHIN
- Go back one directory to
DMETM
and runpython main.py --mode train --dataset "GPHIN" --datapath data/GPHIN --num_topics 10 --train_source_embeddings 1 --epochs 10 --min_df 10
Update ReadME
Update readme with information on how to run the updated main.py script
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.