07 / Machine learning

Flight Delay

Project study

Live flight and weather data in; delay forecasts for India's busiest airports out.

Flight Delay Predictor / Machine learning / 2025

Role
Solo — data pipeline, model, dashboard
Status
Streamlit dashboard
Year
2025
Stack
Python / Scikit-learn / Pandas / Streamlit / AviationStack API

02 / Overview

Will this flight leave on time? A forecast from live data.

A real-time prediction system that forecasts flight delays across major Indian airports. A data pipeline collects live flight and weather data from external APIs, a machine-learning model predicts delays, and an interactive Streamlit dashboard shows live flight status next to the forecasts.

  1. Collect
  2. Prepare
  3. Predict
  4. Show

Flight Delay Predictor / how the parts connect

03 / The problem

Delays depend on things that change by the minute.

Weather, traffic and schedules all move during the day, so a static timetable says little about whether a flight will actually leave on time. A useful forecast needs live inputs and a model that combines them.

  1. 01

    Conditions that change through the day

  2. 02

    Flight and weather data in different places

  3. 03

    Forecasts that need to be readable at a glance

04 / How it works

Two live feeds, one model, one dashboard.

  1. 01

    Collect

    Pull live flight and weather data from external APIs.

  2. 02

    Prepare

    Clean and join the feeds into features with Pandas.

  3. 03

    Predict

    A Scikit-learn model forecasts the delay.

  4. 04

    Show

    A Streamlit dashboard displays live status and predictions.

05 / Key decisions

Where the important calls were made.

Decision 01

Where do the inputs come from?

  1. →

    The choice

    Live flight and weather APIs.

  2. →

    What it gave

    Forecasts reflect current conditions, not a stale snapshot.

Decision 02

How should people see the results?

  1. →

    The choice

    An interactive Streamlit dashboard.

  2. →

    What it gave

    Live status and predictions sit side by side.

06 / The flow

From the first step to the result.

What it looks like from the side of the person using it — the path through Flight Delay in 4 steps.

  1. 01Pick an airport
  2. 02See live flight status
  3. 03Read each delay forecast
  4. 04Check the conditions behind it

Flight Delay Predictor / user flow

07 / Outcome

Live forecasts for major Indian airports.

Flight and weather data
Real-time
Scikit-learn delay model
ML
Interactive dashboard
Streamlit
08 / Next project E-Commerce API Products, carts and orders as a REST API, with roles, validation and a properly normalised schema.