This project performs sentiment analysis on Amazon reviews using TF-IDF and SVM.
Install dependencies with:
pip install pandas numpy matplotlib seaborn scikit-learn nltk
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