A Flask project to do data science through REST API
Clone this project on your machine to have the code necessary to run this project locally.
You will need Python, pip, and virtualenv to get this project started. Install Python and pip here: Python pip
Then use pip to install virtualenv
$ pip install virtualenv
To install the necessary packages, you can simply run
$ pip install -r requirements.txt
However, it is recommended to created an environment so that those imports are specific to this project Create your environment
$ virtualenv <YOUR_ENV_NAME>
Activate your environment
$ source <YOUR_ENV_NAME>/bin/activate
Install packages
$ (YOUR_ENV_NAME) pip install -r requirements.txt
To deactivate your environment
$ (YOUR_ENV_NAME) deactivate
To launch the Flask app, run
FLASK_APP=application.py flask run
Then head over to (http://localhost:5000/predict) to test different classifiers over the wine data provided by scikit-learn
This project is licensed under the MIT License - see the LICENSE.md file for details