Coder Social home page Coder Social logo

gvzhndra / twitter-us-airline-sentiment-classification Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ashutoshmakone/twitter-us-airline-sentiment-classification

0.0 0.0 0.0 6.23 MB

Sentiment classification of an imbalanced data set with text data using sklearn and keras (ML and DL)

Jupyter Notebook 100.00%

twitter-us-airline-sentiment-classification's Introduction

Twitter-US-Airline-Sentiment-classification

This is a sentiment classification project with Twitter US Airlines Sentiments Dataset available on Kaggle It is a record of tweets about airlines in US. Along with other information, it contains ID of Tweet, sentiment of tweer ( neutral, negative and positive), reason for negative tweet, name of airline and text of tweet. Here it is posed as a binary classififcation problem by converting neutral and positve tweets into one category. Suitable Exploratory Data Analysis has been done followed by modeling as follows

  1. Bag of Words with Naive Bayes
  2. TFIDF with Naive Bayes
  3. Word 2 vec with Naive Bayes
  4. TFIDF weighted word2vec with Naive Bayes
  5. Multilayer perceptron with embedding layer

Different techniques has given different recall values as follows

  1. Naive Bayes with BOW = 0.75274
  2. Naive Bayes with TFIDF = 0.7556
  3. Naive Bayes with Word2Vec = 0.8061
  4. NB with TFIDF weighted Word2Vec = 0.78127
  5. Embedding layer in Keras = 0.865
  6. Embedding layer with pretrained glove vectors = 0.907

Please follow along.......

twitter-us-airline-sentiment-classification's People

Contributors

ashutoshmakone 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.