Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/lenoben/review-detention-model
A simple python ML model trained with scikit-learn on review datasets to predict if whatever input that is given to it is positive or negative.
https://github.com/lenoben/review-detention-model
machine-learning nlp python scikit-learn sentiment-analysis
Last synced: 4 days ago
JSON representation
A simple python ML model trained with scikit-learn on review datasets to predict if whatever input that is given to it is positive or negative.
- Host: GitHub
- URL: https://github.com/lenoben/review-detention-model
- Owner: lenoben
- Created: 2023-04-27T13:47:57.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-07-12T09:44:12.000Z (over 1 year ago)
- Last Synced: 2024-11-08T19:45:47.621Z (about 2 months ago)
- Topics: machine-learning, nlp, python, scikit-learn, sentiment-analysis
- Language: Jupyter Notebook
- Homepage:
- Size: 2.92 MB
- Stars: 4
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# review-detention-model
A simple python ML model trained with scikit-learn on review datasets to predict if whatever input that is given to it is positive or negative
## Note, it may not produce accurate results due to it having little data of just 1800 to work on
Requirements for this model is to install the sklearn library using
`pip install scikit-learn`
OR
`pip install -r requirements.txt`run the model by running the following command
`python 'simple model.py'`To get the python code used to train the data from the notebook, it is at the `tasks.py` file
![Example](dump/firstShot.png)