aniass / sentiment-app

The REST API Web App for Sentiment analysis of clothes reviews by using Flask and Machine Learning model.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Sentiment analysis app

General info

The web app for sentiment analysis of clothes reviews. In this project I develop a REST API using the Python Flask framework and ML pretrained model. It is a simple method on implementing machine learning APIs.

The project and code for this pretrained model is available here.

Project includes:

  • Flask API script - app.py
  • script to build and pickle the classifier model - training_model.py
  • models - pickled pretrained model used in app,
  • templates, static - HTML files for the front-end.

Technologies

Project is created with:

  • Python 3.6, Flask;
  • HTML, CSS;
  • libraries: pandas, regex, nltk, scikit-learn, joblib.

Running the app:

To run this app install locally packages:

pip install -r requirements.txt

Next download the project files to your system, then go to the folder/directory where these files reside and run the script:

app.py

About

The REST API Web App for Sentiment analysis of clothes reviews by using Flask and Machine Learning model.


Languages

Language:Python 58.1%Language:HTML 26.6%Language:CSS 15.3%