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
- Host: GitHub
- URL: https://github.com/geekalexis/movie-review-sentiment-analysis
- Owner: GeekAlexis
- Created: 2019-03-26T06:16:40.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2020-11-12T06:00:15.000Z (over 4 years ago)
- Last Synced: 2025-01-12T17:28:08.987Z (4 months ago)
- Topics: bayesian-inference, machine-learning, naive-bayes, nlp, sentiment-analysis, statistical-models
- Language: Python
- Homepage:
- Size: 6.49 MB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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% |