← 开源
pplonski

my_ml_service

My Machine Learning Web Service

TutorialsMLE roadmapPython
在 GitHub 打开
增长势头
+024 小时新增 Star0.0%
614
Star
166
Fork
+0
本周
3
贡献者
创建于 2019-10-31 · 更新于 2026-05-14 · 今日第 15702 名
主要开发者
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.