Tutorials - Ethan Swan: Building a Model Prediction Server
In this PyCon 2023 tutorial, Ethan Swan guides participants through building a model prediction server using Python and FastAPI. The session covers setting up a project environment, creating a FastAPI application, and integrating a scikit-learn model trained on the Iris dataset to make predictions. Key technologies discussed include FastAPI for building the API, Pydantic for data validation, and the use of virtual environments for project isolation. Practical takeaways include hands-on experience with API endpoints, model loading, and testing, culminating in a functional prediction server that can return flower species based on user input.
Comments
No comments yet. Be the first to comment!
Log in to Comment