Delay Relay is an AI product that can help you predict flight delays. Using machine learning and data from your flight, Delay Relay is able to detect delays that may occur. We are dedicated to keeping you updated and saving your time.
Dive Into Delay RelayThe goal of this project is to predict whether or not a flight will be delayed based on variables such as airline, airport, weather, and square footage of the airport. This problem is a classification problem, as there are only two possible outcomes: a flight will be delayed, or a flight will not be delayed.
Delay Relay is an AI product created to keep you flying on time and aware. After thorough research, we realized that people struggle with staying updated on flight delays. Because of this, we created a product for people to stay informed and fly smoothly!
Let's Go!





To make sure that our model would work accurately, we needed to clean the data and make sure that it would fit our model. We removed rows and columns that were unneeded or unfinished, such as Aberdeen. Aberdeen Airport had only two recorded flights, which would possibly screw up our data, so we tossed it out.

Additionally, our team took into account airport size and weather since we believed that these factors played a major role in a flight's delay status. Since this data wasn’t in the original dataset, we added it in manually.

Next, we took our newly inputted data and original, cleaned dataset and put them together. We did this with the help of the Python library pandas.

Before fitting our model, we had to change some of the categorical variables in our dataset (ex: AirportFrom, Airline) to numbers. This makes the data readable when training models.
We've used a total of three machine learning models (XGBoost, SVM, and Random Forest) to put our data into. Since we're trying to determine whether a flight will be delayed or not, this counts as a classification machine learning problem. This is because there are only two possibilities, the flight will be delayed, or it won't.
Here's what we found...
Our model came away with 66% accuracy, using XGBoost and GridSearch. However, this took a while to compute, as our data is rather complex. Some may wonder, why is our accuracy so low compared to other models? Most of our data is not directly impacting the outcome of delay, meaning that it makes it harder for the model to predict if the delay will occur or not. During training, we found a relationship between the runway size and the number of delays, as well as the size of the surrounding population. In conclusion, our model is mostly accurate, but may output a few false negatives and positives.
Here's what we found...
For our program to function with maximum accuracy, we employed the use of API’s, or application programming interfaces, in order to make our lives easier when it came to finding useful data. We used API’s to add more information relevant to our program, such as weather in real time to make our predictions on delays more precise. Although API’s have been helpful, we have had issues with useless data and data that needed to be scraped which would have taken too much time to complete for what it was worth, not to mention data can be difficult to find.
has become 50% MSG at this point
Overthinker
Coconut Water Enthusiast
Computer Always Crashing
CoCalc Slanderer
Perpetually sleepy!
Instructor
Catch Flights, Not Feelings