Coder Social home page Coder Social logo

bibekkun / reviews-sentiment Goto Github PK

View Code? Open in Web Editor NEW

This project forked from avivace/reviews-sentiment

0.0 0.0 0.0 11.57 MB

Data analytics, exploration, sentiment analysis and topic analysis (LDA) on Amazon customer reviews. And cool interactive plots.

Home Page: https://avivace.github.io/reviews-sentiment

Shell 0.05% JavaScript 0.07% Python 5.51% TeX 5.29% HTML 36.57% Vue 3.91% Jupyter Notebook 48.59% Stylus 0.01%

reviews-sentiment's Introduction

Analytics on Amazon Reviews

Data Analytics exam final project, MSc in Computer Science.

By Matteo Coppola, Luca Palazzi, Antonio Vivace.

Exploration, Sentiment Analysis, Topic Analysis (LDA) and a VueJS web application exposing the trained models.

GO. PLAY. WITH THE PLOTS. (web demo deployment)

Documentation

Exploration

Web demo

Run

Set up the a Python virtual environment and install required packages

cd scripts
python3 -m venv .
source bin/activate
pip3 install -r requirements.txt
python3 -m spacy download en

Optionally, install a ipynb kernel to use the venv packages

pip3 install --user ipykernel
python -m ipykernel install --user --name=myenv
# Check the installed kernels
jupyter kernelspec list
# Run Jupyter
jupyter lab

Now, to run the full pipeline:

python3 main.py

A Flask application exposes a simple API (on port 5000) allowing the trained models to be used on demand via simple HTTP requests (in main.py). The VueJS application needs a recent version of NodeJS and npm.

cd webapp
npm install
# serve the web application with hot reload at localhost:8080/reviews-sentiment
npm run serve
# builds the web application for production
npm run build
# deploys the build on the master branch, making github serve it on https://avivace.github.io/reviews-sentiment
npm run deploy

Antuz notes

Accent is #B71C1C, typeface is Barlow 500. On the plots and graphs, typeface is Inter 600, palette is #4DAF4A, #FF7F00, #C73E31.

Final notes from our supervisor, E.Fersini

Unverified/Spam "boom" happens around the first-publishing of some product, aggregating data from a category will hardly show this (there are papers on this)

reviews-sentiment's People

Contributors

avivace avatar axeltopolino avatar dependabot[bot] avatar lucapalazzi 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.