← Open Source
pplonski

my_ml_service

My Machine Learning Web Service

TutorialsMLE roadmapPython
Open on GitHub
Momentum
+0stars in 24 hours0.0%
614
Stars
166
Forks
+0
This week
3
Contributors
Created 2019-10-31 · Updated 2026-05-14 · #15702 today
Top developers
README

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

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.

Django + React Tutorial :books:

I'm working on complete tutorial how to build SaaS (software as a Service) application with Django and React from scratch. The SaaS service will be for server uptime monitoring - it is available at monitor-uptime.com. The tutorial is available at SaaSitive website.