Grid Stability ML Study

End-to-end ML study on the UCI Electrical Grid Stability dataset (10,000 simulated grid configurations, 12 features) — PCA + KMeans structure-finding, then a supervised classifier predicting whether a configuration stays stable.

20261 min read#machine-learning #data-science #python #data-viz
repo

Overview

The capstone of DSCI 372M (Machine Learning for Data Science, Winter 2026): a choose-your-own-dataset project run end-to-end — dataset selection, preprocessing, unsupervised structure-finding, supervised modeling, and interpretation. The repo also holds the course's three earlier ML projects; this is the one that puts the pieces together. (Source lives under Project4/ in the repo.)

The dataset

The UCI Electrical Grid Stability dataset (ID 471): 10,000 simulated power-grid configurations, 12 features — reaction times (tau1–tau4), power balances (p1–p4), and price elasticities (g1–g4) — with a binary target, stabf, marking whether the configuration remains stable. Chosen from three candidate UCI datasets after a written evaluation of each (documented in the project plan): clean, no missing values, and framable as either classification or regression.

Approach

related

← back to research