Skip to content

This project aims to combine Machine Learning with a Graphical User Interface. It takes a review/feedback as an input from the user through a Graphical User Interface and passes the review/feedback into our already trained Machine Learning model and then our model will predict if the feedback is Positive or Negative and even give us the probabil…

Notifications You must be signed in to change notification settings

apuneet839/Sentiment_Classifier

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sentiment Classifier

An awesome blend between Machine Learning and Graphical User Interface

Table of Contents
  1. About The Project
  2. Roadmap
  3. Contact

About The Project

This project aims to combine Machine Learning with a Graphical User Interface. It takes a review/feedback as an input from the user through a Graphical User Interface and passes the review/feedback into our already trained Machine Learning model and then our model will predict if the snetiment of the feedback is Positive or Negative and even give us the probabilities of the sentiment being Positive and Negative. We then present all of the information in a nice presentable manner to the user.

Sentiment Classifier Screen Shot Sentiment Classifier Positive Prediction Screenshot Sentiment Classifier Negative Prediction Screenshot

Procedure:

  • I used a dataset of 10,000 cutomer reviews to train my Machine Learning Models.
  • Split the data to train and test and evenly distributed the positive and negative categorizes among them to minimize biasness.
  • Created Bag of words using CountVectorizer.
  • Passed the training data to Linear SVM, Decision Trees, Naïve Bayes, and Logistic Regression algorithms using Sklearn.
  • Then evaluated their score, SVM came out with the best accuracy of about 80.77%
  • Checked the F1 score of SVM to ensure that there is no biasness in our model.
  • Decided to go on with SVM.
  • Defined a function "model_run" to run predict function on svm for "feedback" input by the user.
  • Created a basic GUI using Tkinter.
  • Assigned the function "model_run" to be called everytime the user clicked the "Classify" button.
  • Formatted the response and presented it to the user in a nice presentable way.

Built With

This project was built entirely on Python.

Libraries Used

Contact

LinkedIn - Puneet Arora
Twitter - @puneet_arora_14

Project Link: https://github.com/apuneet839/Feedback_Classifier

About

This project aims to combine Machine Learning with a Graphical User Interface. It takes a review/feedback as an input from the user through a Graphical User Interface and passes the review/feedback into our already trained Machine Learning model and then our model will predict if the feedback is Positive or Negative and even give us the probabil…

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published