A simple machine learning API built with FastAPI to predict Iris flower species using a trained Random Forest model.
The project demonstrates how to serve ML models as REST APIs and containerize them using Docker.
You can run the app using
- Docker
docker build -t iris-prediction-api .
docker run -p 8080:8080 iris-prediction-apiOR
- Python
python -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt
fastapi dev app.py