Skip to content

It is a trained logistic regression model to classify restaurant's reviews if they are positive or negative for English language.

Notifications You must be signed in to change notification settings

electricalgorithm/RestaurantReviewClassifier

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This program provides you a trained logistic regression model to classify restaurant's English reviews if they are positive or negative.

~$ python3 classifer.py -r "Put here the review you want to classify."

Installing

  1. Clone the repository.
  2. Install the requirements. (pip3 install -r requirements.txt)
  3. Run the classifer.py script as the example above.
  4. The output will be either "Positive" or "Negative".

Training on Custom Dataset

Natural Language Processing based on binary logistic regression can be trained on custom dataset by using nlp_trainer.py script in models directory. Please refer to the TRAIN.md file.

Contributing

Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.

License

This project is licensed under the MIT License - see the LICENSE file for details.

About

It is a trained logistic regression model to classify restaurant's reviews if they are positive or negative for English language.

Topics

Resources

Stars

Watchers

Forks

Languages