Use Flask to serve machine learning models as RESTful APIs
Overview
This is the receipt for "How to productionize machine learning models using Flask as RESTful APIs" by Ahmed Djebali.
Dependencies
All included in the iPython notebook.
Usage
-
Open the terminal. If you're using anaconda just install Flask by typing
$conda install flask
or$pip install flask
. Then run the notebook$jupyter notebook
in terminal in the main directory. All the instructions are in there. -
Two attached files. One is a step-by-step notebook, and the other is the Flask app that is going to serve the machine learning model to get predictions back.