Skip to content
Building an API with the FastAPI framework to serve a scikit-learn model.
Jupyter Notebook Python Dockerfile
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.

How to train a simple sklearn model, pickle it, and build an API with fastapi.

Deployment to AWS will be covered in the future.

To follow this post, you should be familiar with:

  1. Scikit-learn
  2. Docker
  3. Basics of an API

Training the model

You can’t perform that action at this time.