Skip to content

Mohd-Ali2/Amazon_Reviews_Sentiment_Analysis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 

Repository files navigation

Amazon Reviews Sentiment Analysis

This project performs sentiment analysis on Amazon reviews using TF-IDF and SVM.

Setup

Install dependencies with:

pip install pandas numpy matplotlib seaborn scikit-learn nltk

Usage:

Prepare the dataset: Place amazon_reviews.csv in the same directory. Run the script: It preprocesses the text, trains an SVM model, and makes predictions.

Key Functions: Preprocessing: Cleans and tokenizes text, removes stopwords and numbers. Model Training: Uses TF-IDF features and SVM for classification. Prediction: Classifies new review text.

License MIT License

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published