Giter VIP home page Giter VIP logo

tweetfeel's Introduction

TweetFeel

Logistic Regression.


Overview

Will get the global sentiment behind a word using Twitter.

Sentiment_Estimator_png

Features

  • Display percentage of happiness of a given word

  • Show sentiment count, word cloud and most used words.

  • Retrieve and display random tweets with its estimated sentiment.

How to use

To clone and run this application, you'll need Git and Flask installed on your computer. From your command line:

# Retrieve git folder
$ git clone https://github.com/Scylidose/TweetFeel.git

$ cd TweetFeel/

# Install dependencies 
$ pip3 install -r requirements.txt

# Run application
$ make run

You can then access the application with the given address.

Data Steps

Fetch Data

Pre-process Data

  • Removed irrelevant punctuation, mentionned user, link and english stopwords.

  • Tokenized sentence.

  • Lemmatized tokens.

  • Deleted words longer than 15 characters.

  • TF-IDF Transformation.

Data Exploration

  • Most frequent words and Bi-grams.

  • Count of estimated Positive and Negative tweets.

  • Displayed the WordCloud.

Model

  • Logistic Regression :
    • L2 Penalty
    • Tolerance value of 0.001
    • C value of 1

Accuracy

  • Confusion Matrix

  • Accuracy classification score (Jaccard Score)

tweetfeel's People

Contributors

scylidose avatar

Stargazers

suwandi amin sangaji avatar  avatar

Watchers

 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.