Skip to content

0ALI0ZARGAR0/sentimentalyst

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

SVM Sentiment Prediction Model

This project has been my first experience of training a model. Using Support Vector Machines (SVM) to create a prediction model for sentiment analysis on a dataset of Amazon reviews. It has simple data preprocessing, feature extraction, model training, and evaluation.

Project Overview

This project uses SVM to classify Amazon product reviews into positive or negative sentiments. The workflow includes:

  1. Loading and preprocessing the dataset
  2. Visualizing the distribution of sentiments
  3. Vectorizing the text data using bigrams
  4. Identifying the most common words
  5. Training an SVM model
  6. Evaluating the model's accuracy

Requirements

Necessary packages:

pandas matplotlib nltk scikit-learn

About

simple sentiment/emotion analyzer

Resources

Stars

Watchers

Forks