Skip to content
My Machine Learning Web Service
Python Jupyter Notebook Dockerfile Shell
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.
backend/server add docker definition Nov 4, 2019
docker add docker definition Nov 4, 2019
research ab tests Nov 4, 2019
.gitignore Initial commit Oct 31, 2019
LICENSE Initial commit Oct 31, 2019 Update Nov 7, 2019
docker-compose.yml add docker definition Nov 4, 2019
requirements.txt add docker definition Nov 4, 2019

Deploy Machine Learning Models with Django

This is a source code from the tutorial available at

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

In the research directory there are:

  • code for training machine learning models on Adult-Income dataset link
  • code for simulating A/B tests link

In the backend directory there is Django application.

In the docker directory there are dockerfiles for running the service in the container.

You can’t perform that action at this time.