Deploy Machine Learning Models with Django
This is a source code from the tutorial available at deploymachinelearning.com
This web service makes Machine Learning models available with REST API. It is different from most of the tutorials available on the internet:
- it keeps information about many ML models in the web service. There can be several ML models available at the same endpoint with different versions. What is more, there can be many endpoint addresses defined.
- it stores information about requests sent to the ML models, this can be used later for model testing and audit.
- it has tests for ML code and server code,
- it can run A/B tests between different versions of ML models.
The code structure
research directory there are:
- code for training machine learning models on Adult-Income dataset link
- code for simulating A/B tests link
backend directory there is Django application.
docker directory there are dockerfiles for running the service in the container.
Django + React Tutorial
I'm working on complete tutorial how to build SaaS (software as a Service) application with Django and React from scratch. The tutorial is available at SaaSitive website: https://saasitive.com/django-react/boilerplate/