Skip to content

This repository deals with implementation of NLP .

License

stabgan/Binary-Sentiment-Analysis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Natural Language Processing

In this project I applied my knowledge of Machine Learning to predict binary sentiment of customers of a Restaurant and trained it on 800 reviews and tested it on 200 reviews .

In this project I faced a challenge to select the correct Naive Bayes Model .I tried the classic ones like The

Gaussian Naive Bayes

Server fetching image down

and

Multinomial Naive Bayes

Server fetching image down

but , I finally found that using 600 max_features and Using Bernoulli's Naive Bayes gives me the best result :

" there may be multiple features but each one is assumed to be a binary-valued (Bernoulli, boolean) variable. Therefore, this class requires samples to be represented as binary-valued feature vectors; if handed any other kind of data, a BernoulliNB instance may binarize its input (depending on the binarize parameter). " - Scikit learn Docs

Server fetching image - down

Check License.

About

This repository deals with implementation of NLP .

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages