Skip to content

Latest commit

 

History

History
47 lines (35 loc) · 1.94 KB

README.md

File metadata and controls

47 lines (35 loc) · 1.94 KB

supervised_learning_2026

Python 3.11 scikit-learn 1.9.1 XGBoost 3.2.0 pandas 3.0.6 NumPy 2.4.6 SciPy 1.17.1 Docker Compose

A simple Supervised Learning Lab.

Overview

I asked GitHub Copilot to quickly scaffold an example using these Supervised Learning (labeled data) techniques:

  • XGBoost
  • Random Forest
  • Gradient Boosting
  • Linear Regression
  • Logistic Regression
  • Ensemble Learning
  • Time-Series Forecasting

Start with initial data (randomized, CSV format) then demonstrate the following scenarios:

  • Data Leakage
  • Underfitting
  • Overfitting
  • Data Drift
  • Concept Drift
  • Skew

The above frequently show up in the GCP PMLE but there aren't that many hands-on labs for these in skills.google.

GitHub Copilot diligently implemented this (very literally) and created a Docker example in sequential stages: generate random Data, train the specified Models, then demonstrate scenarios like Data Drift.

Use

docker compose up

Note that Data, Models, Metrics will be recreated within the Container. I've included generated examples in the source for study purposes.

Resources and Links

  1. https://render-static-fs.onrender.com/study_guide_notes_2023.gcp.html#gcp-pmle-working-notes
  2. https://www.skills.google/