Best AI for Commerce (Stonks) Winner at MAIS Hacks 2021 hosted by McGill Artificial Intelligence Society
This application helps the user predict whether a flight will be on time or delayed.
In today's world, the plane is a necessary vehicle for long trips. However, because of factors like air traffic, weather, departure time, etc., flights often delay. We want to develop a web app to help people predict whether their flights will delay so that they can better schedule their trips.
We want to predict whether a flight will delay or not, given the day of the week, departure time, airliner, departure airport, and the previous airport.
We used sklearn in Python to train a model of decision tree using almost 500,000 data points in the dataset 2019 Airline Delays w/Weather and Airport Detail on Kaggle to perform prediction on the user's input. The model is stored on a Flask-based backend server deployed on Heroku to which the frontend will make HTTP requests to perform prediction. The result of the prediction will be displayed on the frontend based on JavaScript, HTML, and CSS.
- Training our model with a huge amount of data
- Preprocessing data
- Building the website
- Dependency issues when hosting the Flask backend on Heroku
- Working frontend and backend
- High accuracy
- Delicate frontend
- Having learned Flask
- Better understanding of decision tree
- Use of Flask framework
- Project architecture
- Project management
- Allow more input from user (e.g. weather, size of the plane, month, etc.) to improve accuracy
- Connect to other apps to prefill or export data
- More precise prediction of, for example, probability of delay and duration of delay
- Python
- JavaScript
- HTML & CSS
- Flask
- Heroku