Code Monkey home page Code Monkey logo

tweet_analysis's Introduction

Sentiment Analysis and Exploratory Data Analysis on tweets.

This is a machine learning project which focuses on performing sentiment and descriptive statistical analysis on twitter tweet data scraped from the twitter web page using python and textblob. This project is in two parts: 1. web scraping with requests and BeautifulSoup (these are tools are used for scraping data from the web in python) which will be done in a separated python script. 2. sentiment and descriptive statistical analysis which will be displayed in an interactive reporting dashboard. The reason for the dashboard is to allow you to perform the analysis on any twitter user account you specify, provided it is valid. The sentiment analysis will be done using python’s textblob module.

Dashboard demo.

Project by: Prince Owusu

Email || linkedIn || @iam_kwekhu

Run the app locally on your PC.

To get the app to run on your local computer,I suggest you install git and create a separate virtual environment running python3 for this app and install all of the required dependencies there.Run in the terminal/command prompt.

install git on linux

$ sudo apt-get update

...

$ sudo apt-get install git

or dowmload the latest version of Git for Windows installer and Git for Mac OS installer

configure your Git username and email using the following commands:

git config --global user.name "YOUR USERNAME"

...

git config --global user.email "YOUR EMAIL"

clone this project repository and create a separate virtual environment:

git clone https://github.com/prince381/tweet_analysis.git

...

cd tweet_analysis

...

python3 -m virtualenv venv

In UNIX systems:

source venv/bin/activate

In windows:

venv\Scripts\activate

To install all of the required packages to this environment,simply run

pip install -r requirements.txt

and all the required pip packages,will be installed,and the app will be able to run.

Run this app locally by:

python app.py

Open http://127.0.0.1:8050/ in your browser.

tweet_analysis's People

Contributors

prince381 avatar

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.