Skip to content

A real-time data visualization tool for analyzing sentiments on tweets based on users' searched keywords with JavaScript, Bootstrap and JQuery

Notifications You must be signed in to change notification settings

YipengJi/HCI-Project-Interactive-Prototyping

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

HCI-Project-Interactive-Prototyping

EPFL CS486 Human Computer Interaction Project: AI is Beautiful

Getting Started

Prerequisites

  • Python 3.x
  • Others - See Dependencies (Build With).

Installing

Installing dependencies before running using the following:

pip install Flask

And repeat "pip install" for all other dependencies.

Running

  • Step 1 - Unzip "HCI Project-Sentiment Analysis Dataset.csv" file and put it into "datas" directory.

  • Step 2 - Open Termial Window 1, Move into "datas" diractory from the terminal.

  • Step 3 - Run "project.py" and wait for it to be done (instructions show on terminal logs, only needed to run once for analyzing training dataset).

python project.py
  • Step 4 - Open Termial Window 2, Move into the top directory and run a Redis server (wait for the connection to establish and keep the window open)
bash redis.sh
  • Step 5 - Open Termial Window 3, Move into the top directory and run a Celery worker (wait for the connection to establish and keep the window open)
celery worker -A app.celery --loglevel=info
  • Step 6 - Open Termial Window 4, Move into the top directory and start the application (wait for the Debugger to show up)
python app.py

Built With

Front-End

Back-End (stream Twitter)

Algorithms

Authors

  • Yipeng Ji

Acknowledgments

About

A real-time data visualization tool for analyzing sentiments on tweets based on users' searched keywords with JavaScript, Bootstrap and JQuery

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published