Giter Site home page Giter Site logo

persona-1's Introduction

Persona

It is the solution of the problem from IBM Hack Challenge - "Help me with my mood". In this project, we analyse the tweets and Instagram posts of an user of previous 24 hours or more, and perform sentiment analysis using IBM Watson Tone Analyzer. Then our algorithm provides media recommendations based on the mood of the user to improve his/her mental health. Our algorithm is equipped with reinforcement learning which open a path for enhanced customized experience in future access. This is a Social-media Health Analysis and Display Engine (SHADE). Its main aim is to eliminate any negative state of mind that might have adverse effect on user's daily life.

Pre-requisities:

Python and its packages :

1. Flask
2. Keras
3. IBM-Tone-Analyzer
4. Bcrypt
5. json
6. SQLAlchemy
7. BeautifulSoup
8. Python twitter REST APIs
9. numpy

Web Technologies:

1. HTML
2. CSS
3. Bootstrap
4. JavaScript

First install all the required packages by using following commands:

pip install --upgrade keras
pip install --upgrade flask
pip install --upgrade bcrypt
pip install --upgrade json
pip install --upgrade python-twitter
pip install --upgrade wastson-developer-cloud
pip install --upgrade beautifulsoup4
pip install --upgrade flask-bcrypt
pip install --upgrade flask-sqlalchemy
pip install --upgrade flask-wtf
pip install --upgrade numpy

Now run the flask app to host the website locally. Usually, hosting address is :

127.0.0.1:5000

Open the broswer (Chrome or Firefox is recommended) and enter the above the address as URL. Here, you will get Login page. Enter the details to go to your dashboard. If you are using this app for the first time, do registration first. Enter the following address to register as new user:

127.0.0.1:5000/register

Once you get into the dashboard, you can set the time period for analyzing your tweets and instagram posts.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.