Python Flask Sklearn Docker Template

screenshot of Python Flask Sklearn Docker Template
flask

A simple example of python api for real time machine learning, using scikit-learn, Flask and Docker

Overview

The python-flask-docker-sklearn-template is a simple example of a Python API for real-time machine learning. It demonstrates the use of Flask, Docker, and the scikit-learn library to create a linear regression model that can be used to make predictions.

Features

  • Simple example of a Python API for machine learning
  • Uses Flask framework for handling requests and responses
  • Uses Docker for easy deployment and portability
  • Creates and saves a simple linear regression model on initialization
  • Loads the model for prediction when a request is made

Summary

The python-flask-docker-sklearn-template is a deprecated repository that provides a simple example of a Python API for real-time machine learning. It demonstrates the use of Flask, Docker, and scikit-learn to create and deploy a linear regression model. The installation guide outlines both Docker and local development setup, including code snippets for running the application and making sample API requests.

flask
Flask

Flask is a lightweight and popular web framework for Python, known for its simplicity and flexibility. It is widely used to build web applications, providing a minimalistic approach to web development with features like routing, templates, and support for extensions.

docker
Docker

A website that uses Docker for containerization to streamline development, testing, and deployment workflows. This includes features such as containerization of dependencies, automated builds and deployments, and container orchestration to ensure scalability and availability.