Deploy Machine Learning Models with Flask

Well most of us know how to:

  • Write machine learning models
  • Train them
  • Test them as well

But how do we deploy them to production? Well in this Github repo I explained how to deploy machine learning models to production using Flask (a micro web framework written in Python), in addition how to serve them as a RESTful API (web services).

Architecture

For this I just built a simple random forest model around iris dataset [1][2] in order to walk you through the main stuff …

Welcome if you get issues!

Written on December 24, 2017