Australia rain prediction with three CI/CD systems
Predicts next-day rain in Australia with XGBoost, deployable to GKE from GitHub Actions, CircleCI or GitLab.
What it does
Weather records are cleaned (Date dropped, numeric gaps mean-filled, remaining nulls dropped), categoricals are label-encoded and RainTomorrow is the target. An XGBoost classifier is trained in a training pipeline and served through a Flask form. The Dockerfile and Kubernetes manifest are deployed to GKE through GitHub Actions, CircleCI and GitLab CI configurations kept in one repository.
What was built
- 01
Processing drops Date, mean-fills numeric nulls, drops remaining gaps and label-encodes categorical columns.
- 02
XGBClassifier trains on the processed split with RainTomorrow as the target and is saved for the app.
- 03
Flask app collects weather inputs and returns a rain or no-rain prediction.
- 04
One repository holds GitHub Actions, CircleCI and GitLab CI pipelines that build, push and deploy to GKE.
The pipeline, layer by layer
Five layers, one pipeline.
L1Data
- Weather CSV
- Cleaning and encoding
L2Training
- XGBoost classifier
L3Serving
- Flask app
L4CI/CD
- GitHub Actions
- CircleCI
- GitLab CI
L5Runtime
- Artifact Registry
- GKE deployment