Giter VIP home page Giter VIP logo

sentiment-analysis-google-playstore-app-reviews's Introduction

Sentiment-analysis-Google-playstore-app-reviews

  • Sentiment analysis refers to the use of natural language processing, text analysis, computational linguistics, and biometrics to systematically identify, extract, quantify, and study affective states and subjective information.

  • We have scraped 16000 reviews from Google app playstore from our desired applications. Please refer "Scraping Google playstore app reviews" repository for scraping the reviews

  • Utlilized NLTK and regular expressions to implement the text pre-processing modules and SMOTE to balance class labels.

  • Our project implements ML classification models using Logistic Regression, SVM Classifier, KNN Classifier, Naive Bayes, Random Forest Classifier, Decision Tree Classifier to predict the sentiment on the test dataset.

  • In addition, we are improving the classifier by training the reviews dataset using the BERT (Bi-directional Encoding Representations from Transformers) transformer through Hugging Face.

The model accuracy for the above models are stated below:

ML Models (Validation accuracy):

  • Multinomial Logistic Regression - 0.579047619047619

  • Naive Bayes - 0.4552380952380952

  • KNN Classifier - 0.36

  • SVM - 0.7066

  • Decision Tree Classifier - 0.6819

  • Random Forest Classifier - 0.7187301587301588

NLP Model:

  • BERT (Training accuracy) - 0.9880036694658105

  • BERT (Validation accuracy) - 0.8932655654383737

Obviously, BERT gave the best results on both train and validation datasets when we trained our model for 10 epochs.

FastAPI

  • Furthermore, we are using FastAPI to build a web framework for our trained model and we are testing it with various reviews from the app store. The model has given really good results and once can enhance it further to improve the predicions.

  • Get to know more about FastAPI through this link: https://fastapi.tiangolo.com/

  • Test the model through FastAPI using: http://127.0.0.1:8000/docs

Snapshot of the working of FastAPI

Capture

Capture

Credits: Venelin Valkov

Happy Coding!

sentiment-analysis-google-playstore-app-reviews's People

Contributors

teamhiddenleaf avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.