Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/rayyan9477/sentiment-analysis-model

This project implements a comprehensive pipeline for cleaning and processing text data, followed by training and evaluating machine learning models for sentiment analysis. It leverages Python, NLTK for natural language processing, scikit-learn for machine learning tasks, and Plotly for data visualization.
https://github.com/rayyan9477/sentiment-analysis-model

data-science machine-learning machine-learning-algorithms natural-language-processing nltk-python python sentiment-analysis

Last synced: about 2 months ago
JSON representation

This project implements a comprehensive pipeline for cleaning and processing text data, followed by training and evaluating machine learning models for sentiment analysis. It leverages Python, NLTK for natural language processing, scikit-learn for machine learning tasks, and Plotly for data visualization.

Awesome Lists containing this project

README

        

# Sentiment Analysis Model

## Summary
This project implements a comprehensive pipeline for cleaning and processing text data, followed by training and evaluating machine learning models for sentiment analysis. It leverages Python, NLTK for natural language processing, scikit-learn for machine learning tasks, and Plotly for data visualization. Techniques used include tokenization, stopword removal, stemming, and feature extraction using CountVectorizer. The pipeline ensures a robust and efficient workflow for text data analysis and sentiment classification.

## Requirements
- Python
- pandas
- numpy
- scikit-learn
- plotly
- nltk

You can install all the required packages using the following command:
```sh
pip install -r requirements.txt
```

## How to Run the Project
1. Clone the repository:
```sh
https://github.com/Rayyan9477/Sentiment-Analysis-Model
cd Sentiment Analysis Model
```
2. Install the required packages:
```sh
pip install -r requirements.txt
```
3. Run the main script:
```sh
python app.py
```

## Project Structure
```
Sentiment Analysis Model/

├── twiiter_training.csv
├── twitter_validation.csv
├── app.ipynb
├── requirements.txt
├── README.md
└── app.py
```

## Screenshot
![Project Screenshot](https://github.com/Rayyan9477/Sentiment-Analysis-Model/blob/main/plot.png)

## Video Demo

[Watch the video demonstration](https://github.com/Rayyan9477/Sentiment-Analysis-Model/blob/main/video_demo.mp4)

## Contact
- LinkedIn: [Rayyan Ahmed](https://www.linkedin.com/in/rayyan-ahmed9477/)
- Email: [email protected]