Skip to content

rak02/sentimental-analysis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sentimental-Analysis

Sentimental analysis using svm(support vector machine)

Description

Sentiment analysis for a dataset of comments which are classified as positive or negative using support vector machine. The steps included are data preprocessing and cleaning , label encoder, featur extraction using TF-IDF and then training and testing of model using svm.Image of the dataset used is

Dataset

Steps followed in the algorithm

1.Loading the csv file to a pandas Dataframe. 2.Performing Data cleaning such as tokenization ,removing stopwards and unique characters. 3.Label encoding the sentiemnts for better classification. 4.Feature extraction done on the dataset. Tf-idf is used to find the weightage of the importance of words. 5. Performing SVM algorithm using scikit learn library and finding accuracy.

Output

About

sentimental analysis using svm

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages