An open API service indexing awesome lists of open source software.

https://github.com/geekalexis/movie-review-sentiment-analysis

Sentiment analysis on movies reviews based on Naive Bayes
https://github.com/geekalexis/movie-review-sentiment-analysis

bayesian-inference machine-learning naive-bayes nlp sentiment-analysis statistical-models

Last synced: 2 months ago
JSON representation

Sentiment analysis on movies reviews based on Naive Bayes

Awesome Lists containing this project

README

        

# Movie-Review-Sentiment-Analysis
A simple supervised learning classifier that predicts whether a movie review is positive or negative.

## Description
This repo implements all algorithms from scratch without using scikit-learn. Term frequency–inverse document frequency (TF-IDF) and bag-of-words features are both supported. Training is optimized to run within 10 seconds.

Includes statistical models of two flavors:
| Model | Test accuracy |
|:-------:|:-------:|
| Gaussian Naive Bayes | 69% |
| Multinomial Naive Bayes | 81% |