Skip to main content

Flight delay prediction

Author: Mihai Nan

Medium
Your best score: N/A
Problem Description

✈️ Flight Delay Prediction 🕒

🇺🇸 Context

The Federal Aviation Administration wants to develop a system capable of predicting flight arrival delays (in minutes) based on historical information about airlines, airports, and operational conditions.

For this purpose, you are provided with a dataset aggregated at the level of:
(year, month, airline, airport).

📦 Available Features

NameDescription
sample_idUnique sample ID (e.g., 0194048)
yearReporting year
monthReporting month
carrierAirline code
carrier_nameFull airline name
airportAirport code (IATA)
airport_nameAirport name
arr_flightsTotal number of arrived flights
arr_del15Number of arrivals delayed >15 minutes
carrier_ctDelays attributed to the carrier
weather_ctDelays caused by weather conditions
nas_ctDelays caused by the national air system (NAS)
security_ctSecurity-related delays
late_aircraft_ctDelays caused by late-arriving aircraft
arr_cancelledCancelled flights
arr_divertedDiverted flights
delayTarget variable — total arrival delay (minutes, available only in train.csv)

Note: In test.csv, the delay column is absent and needs to be predicted.


🎯 Problem Objective

Train a model to predict delay (in minutes) using the features listed above.

The final result should be submitted as a submission.csv file.


📝 Submission Format

The file should be:

sample_id,delay
0194048,132
0194049,0
0194050,215

where:

  • sample_id must match the values in test.csv
  • delay represents an integer, the model's predicted delay

📊 Evaluation

Evaluation is performed using MAE (Mean Absolute Error):

MAE

🏆 Final Score

  • MAE ≤ 400 → 100 points
  • MAE ≥ 600 → 0 points
  • Intermediate values receive proportional scores between 0 and 100.

🔎 Notes

  • You are free to use any ML technique.
  • Preprocessing, encoding, and feature engineering are allowed.

Good luck and smooth flying! ✨

Submit Solution
Upload output file and optionally source code for evaluation.

Submission File

Source Code File (optional)

Sign in to upload a submission.