Loading repository data…
Loading repository data…
andre-marcos-perez / repository
This repository is the solution for the iFood ML Engineer test.
A transparent discovery signal based on current public GitHub metadata.
This score does not audit code, security, maintainers, documentation quality, or suitability. Verify the repository and its current documentation before adoption.
This repository is my solution for the iFood ML Engineer test.
git clone https://github.com/andre-marcos-perez/ifood-mlops-app.git
cd ifood-mlops-app
docker-compose up
The iFood MLOps App is a ML platform built on top of Docker designed to help data scientists to develop and deploy ML models. It is composed by four main components tied together by a Python SDK:
The ML platform dynamics is best understood with this example notebook that will be available at runtime.
Install Docker (v1.13.0+) and Docker Compose (v1.10.0+).
| App | Address | Description |
|---|---|---|
| Sandbox | localhost:8888 | Jupyter based env to develop, train, test and deploy models |
| Pipeline | localhost:8080 | Apache Airflow based pipeline to train, test and deploy models |
| Database | localhost:3306 | MySQL based database to register ML experiments |
| Serving API | localhost:8000 | FastAPI based api to serve models predictions and predictions |
| Serving Docs | localhost:8000/docs | Swagger based web docs for serving api |
For a further description of each application, please checkout docs.
You can build the project locally.
Note: Local build is currently only supported on Linux OS distributions.
git clone https://github.com/andre-marcos-perez/ifood-mlops-app.git
cd ifood-mlops-app
./build.sh
Alternatively, you can use the images pre-built on DockerHub. The images are built with GitHub actions, you can check the code here.
If you build the project locally, you can start the platform with the following command:
docker-compose -f docker-compose-local.yml up
If you prefer to use the pre-built images, start the platform by running the following command:
git clone https://github.com/andre-marcos-perez/ifood-mlops-app.git
cd ifood-mlops-app
docker-compose up