Git Product home page Git Product logo

twitter-sentiment-analysis-using-nlp-ml-and-a-gui-sentiment-analyser's Introduction

Twitter-Sentiment-Analysis-using-NLP-ML-and-a-GUI-Sentiment-Analyser

Sentiment Analysis is performed on twitter data obtained.

For Analysis using NLP and ML:

Check the distribution of tweets in the data. It is to be noted we have test and train data in hand. Define a

Countvectorizer function to convert text into a represen- tation of corresponding frequency.

A word cloud is then defined to show the most frequent word with bigger and distinct letters, and with different colors.

Then, we collect hashtags by extracting them from certain types of tweets.

We label the tweets collected and remove unwanted patterns from them.

Stemming is applied to extract the stem and join them back.

A bag of words model is then created and thus extracting all key features.

After this, we ideally want to apply our ML model.For this, we first split the training data into train and valid sets so that we can evaluate the performance of the model we apply.

Four ML models are then applied, namely: Random Forest; Decision Tree; Logistic Regression, and XBG.

A confusion matrix is obtained and we check the accuracy associated with each model.

For GUI based Sentiment Anlayser:

For developing the web application, we have used “Flask” package, which is basically a web

application framework.

Run in Ubunutu

Naives Bayes has been used for classifying on the basis of positive and negative sentiment(sentence).

twitter-sentiment-analysis-using-nlp-ml-and-a-gui-sentiment-analyser's People

Contributors

samuelvjoshua avatar

Stargazers

 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.