A full-stack MLOps solution to forecast energy consumption and weather-related variables across European countries using machine learning. This project integrates automated model training and deployment using Google Cloud Platform. This was developped using a GitFlow approach.
/!\ This project has been made in collaboration with Merlin Michel, the complete project is there, this is just to keep separate my work on the ML pipeline using Vertex AI
Download dataset from Copernicus API each
Implementation of the machine learning pipeline that runs on Google Cloud Vertex AI, covering data ingestion, preprocessing, training, and prediction.
- Ingests energy and meteorological data from
data-upload - Preprocesses & scales features
- Trains two separate models:
training_energy.py: Forecasting energy-related variablestraining_meteo.py: Forecasting meteorological features
- Predicts values and pushes them to Bigtable
- Runs containerized via Docker on Vertex AI Pipelines
- pre-commit-hooks to check quality of code using Ruff
- Test some functionality of code using Pytest
- Continuous deployement on Google cloud command using python (not finished)
wattwise-mlops-project/
│
├── .github/workflows/ # CI/CD
├── data/ # Local CSV files (optional dev use)
├── notebooks/ # Exploratory notebooks (optional)
├── tests/ # Unit tests
│
├── vertex_pipeline/ # Vertex AI ML training pipeline
│ └── README.md
│
├── web_application/ # Streamlit frontend and Docker setup
│ └── README.md
│
├── .pre-commit-config.yaml # check/format quality and continuity of code
├── README.md # ← You are here
└── requirements.txt # Root dependencies
- Machine Learning Pipeline: Built on Vertex AI, it automates data ingestion, preprocessing, model training, and prediction.
- Web Application: Built with Streamlit, deployed with Cloud Run, it visualizes forecasts and allows user interaction.
- Cloud Native: Data is stored in Google Bigtable, and infrastructure is orchestrated through Docker and gcloud.
| Component | GCP Service |
|---|---|
| ML Pipelines | Vertex AI |
| Model Serving | Cloud Run |
| Containerization | Cloud Build + Docker |
| Storage | Google Bigtable |
| Auth | IAM + Service Accounts |


