Icon

Airline Delay Detection

<p>Airline delays are an ongoing challenge for the airline industry, affecting both airlines and passengers. By detecting and understanding outliers in the airline data, particularly related to delays, the industry can improve operational efficiency, optimize schedules, and enhance customer satisfaction. Outlier detection plays a key role in identifying unusual patterns or disruptions in flight delays that could indicate underlying issues at airports, with aircraft, or within the airline’s operations.</p><p></p><p>Delays can result from a variety of factors such as weather conditions, air traffic, or airport-specific inefficiencies. Identifying unusual delay patterns early allows airlines and airports to take preventive actions. By using outlier detection techniques, the goal is to find outlier airports with significant deviations in average arrival delays, whether due to excessively long delays or unusually early arrivals.<br><br>This workflow accesses a sample of data from the airline dataset and detects outlier airports based on the average arrival delay in them. The techniques applied are numeric outlier, z-score, DBSCAN and isolation forest. The outlier airports detected by each of these techniques are visualized on a map of US using the Geospatial Analytics Extension for KNIME.</p>

URL: Four Techniques for Outlier Detection https://www.knime.com/blog/four-techniques-for-outlier-detection
URL: Airline data collected and published by DOT Bureau of Transportation Statistics https://www.transtats.bts.gov/OT_Delay/OT_DelayCause1.asp

Airline Delay Detection

This workflow detects outliers in the data based on the following techniques:

  • Numeric Outlier

  • Z-Score

  • DBSCAN

  • Isolation Forest

Result Visualization
  • compare result of outlier detection for each method

  • visualize the results

Data Import

import dataset to the workflow

Build Model and Detect Outliers

for each techniques/ model:

  1. Data preparation,

  2. Build the model,

  3. Detect outlier using the model

Data Preprocessing
  1. Extract the "ArrDelay", "City_Dest" and "Airport_Dest" columns,

  2. Join extracted column with the latitude and longitude of the cities,

  3. Handle missing values,

  4. Calculate the average arrival delay by airport

Read a sample ofthe fully joined airline dataset
Table Reader
Outlier Detection - Numeric Outlier
Visualize Outliers
Outlier Detection - Z-Score
concate the results (from 4 techniques used)
Concatenate
Outlier Detection - Isolation Forest
Data preprocessing
Outlier Detection - DBSCAN

Nodes

Extensions

Links