Skip to content

Hello everyone!!! In this repo I have trained a tweet sentiment-analysis model i.e. if you enter your tweet the model will tell if the tweet is positive or negative

License

Notifications You must be signed in to change notification settings

Sajid030/tweet-sentiment-analysis

Repository files navigation

Tweet Sentiment-Analysis

Kaggle Python 3.10 scikit-learnn flask nlp

Table of Contents

Demo

GIF

Overview

This is a Flask web app which analyzes whether the entered tweet is positive or negative.

Motivation

I started to learn Data Sience during second year of my college as this subject intrigued me quite a lot. So i started with Machine Learning first and came to know mathematics behind all supervised as well as unsupervised models. Finally it is important to work on application (real world application) to actually make a difference.

Installation

The Code is written in Python 3.10.10. If you don't have Python installed you can find it here. If you are using a lower version of Python you can upgrade using the pip package, ensuring you have the latest version of pip. To install the required packages and libraries, run this command in the project directory after cloning the repository:

pip install -r requirements.txt

Deployement on Cpanel

Click here to see how to deploy your machine learning model on Cpanel.

Directory Tree

├── resource 
│   ├── tweet.gif
├── static 
│   ├── css
│         ├── style.css
├── template
│   ├── index.html
├── .gitattributes
├── LICENSE.md
├── Procfile
├── README.md
├── app.py
├── cv-transform.pkl
├── requirements.txt
├── sentiment_analysis.ipynb
├── training.1600000.processed.noemoticon.csv
├── tweetmodel.pkl

Bug / Feature Request

If you find a bug (the website couldn't handle the query and / or gave undesired results), kindly open an issue here by including your search query and the expected result

Future Scope

  • Improve accuracy through feature engineering
  • Experiment with deep learning techniques (e.g. RNNs or transformers)
  • Extend model to support multiple languages

Credits

  • Dataset link : Click here

About

Hello everyone!!! In this repo I have trained a tweet sentiment-analysis model i.e. if you enter your tweet the model will tell if the tweet is positive or negative

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published