Skip to content

A simple streamlit app accompanying my smart grid stability prediction notebook

Notifications You must be signed in to change notification settings

sowla/grid_stability_app

Repository files navigation

Predicting smart grid stability

In my Kaggle notebook, I used UCI's simulated Electrical Grid Stability data to predict if a given combination of power system conditions would result in an unstable grid - and therefore risk causing blackouts or damaging equipment.

I then created a simple streamlit app that can be used to see how adjusting model inputs affect the resulting predictions:

streamlit app screenshot

This repo contains the source code as well as the associated tests and github actions.


The notebook goes through data exploration and feature selection, followed by model fitting, tuning, testing and pickling. Here are some images for an idea:

EDA (feature correlation heatmap) EDA (filled histplots for each feature)

feature selection baseline model performance

baseline LightGBM performance tuned LightGBM performance

final classifier performance

About

A simple streamlit app accompanying my smart grid stability prediction notebook

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages