Project — fastapi-wine-ai
A Machine Learning API Predicting Wine Quality and Composition
Two ML models, full CRUD, and retraining through the API.
In plain English
This API is built around a dataset of about 1,600 wines. You can browse and edit the wines, predict the quality of a wine from its chemical analysis, or do the reverse and get the typical composition of a wine of a given quality.
For the curious
Written in Python with FastAPI, organised in routers, with request authentication and full CRUD on the wines. Two RandomForestRegressor models handle the predictions: one estimates quality from chemical features, the other estimates the expected composition from a target quality. The dataset holds 1,597 entries, and the models can be retrained with a simple API call.
A little summary :
A small project, but a complete loop: data, training, serving and retraining, all behind one API. A good first step into putting machine learning models into production.











