Skip to content

Bag of words for feature extraction and then we use a svm for th classification

License

Notifications You must be signed in to change notification settings

ArmandoDomi/Bag_of_words-reviews

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 

Repository files navigation

Bag_of_words-reviews

Bag of words for feature extraction and then we use a svm for th classification



1 Gather all the words that exist in the dataset and apply the morphological processing.
2 Remove the "Stopwords".
3 Remove the punctuation marks, and make a sorted list where each word appears once.
4 Replace every review with a feature vector.

Confusion Matrix

At test set

Predicted Label
Negative Positive
Negative 362 91
Positive 102 345

Results

Results at test set :
Accuracy Presicion Recall Fmeasure Spesificity
SVM 0.78 0.79 0.77 0.78 0.79

About

Bag of words for feature extraction and then we use a svm for th classification

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published