Giter VIP home page Giter VIP logo

twitter_airlines_sentiment_analysis's Introduction

Twitter Sentiment Analysis of US Airlines

Approach for Sentiment Analysis

  • VADER Lexicon
  • TextBlob
  • Machine Learning Models
  • Word Embeddings

About the Dataset:

  • Source: Crowflower Data for Everyone
  • Twitter data of February 2015 was scraped, the tweets are classified into positive, negative & neutral emotions

Insights from the Data

Sentiment Distribution Analysis

63% of the tweets are negative, whereas 21% positive & 16% neutral Sentiment Distribution

Analysis of Airlines mentioned in the tweets

United Airlines followed by U.S Airlines have the highest tweet mentions Airlines listed

Analysis of Top 10 Tweet Locations

New York location has the highest tweet mentions Tweet Locations

Analysis of User Time-zones

Eastern time followed by Central time are the timezones of most users User Timezones

Word Cloud

Overall Word Cloud

Word Cloud of Positive Reviews

Pos Word Cloud

Word Cloud of Negative Reviews

Neg Word Cloud

Analysis of Negative Tweets

Top Negative Reasons

Top 15 Unigrams

15 unigrams

Top 25 Bigrams

25 bigrams

Top 25 Trigrams

25 Trigrams

Results of VADER Sentiment Analysis

Accuracy of VADER Lexicon is 49.61%

Results of TextBlob Analysis

Accuracy of TextBlob is 42.91%

Results of Machine Learning Models

ml models results BOW ML Models Comparison

Results of Word Embeddings (word2vec) Sentiment Analysis

image Word_Embedding ML Models

Inference:

The following models have the best performance

  • Sentiment Analysis with Logistic Regression gives 78% accuracy & 0.77 AUC-ROC Value
  • Word Embeddings with Gradient or XG Boost are good classifiers with 77% accuracy & 0.73 AUC-ROC Score

twitter_airlines_sentiment_analysis's People

Contributors

arpithaananth avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

Forkers

jihadul4kbar

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.