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: Scikit-learn Docker Basics of an API Training the model