Skip to content

Minimising Air Flight emissions and maximising the fuel efficiency of flight systems by optimized code and well defined trajectory management. Sending the data to flight booking websites and letting users book the efficient and more sustainable flights.

Notifications You must be signed in to change notification settings

Keerthivasan-Venkitajalam/GDSC_SOLUTIONS_CHALLENGE_2023_TEAM_FRATERNITY

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#1## GDSC_SOLUTIONS_CHALLENGE_FRATERNITY Minimising Air Flight emissions and maximising the fuel efficiency of flight systems by optimized code and well defined trajectory management. Sending the data to flight booking websites and letting users book the efficient and more sustainable flights.

AIR FLIGHT DYNAMICS

Prerequisites

MATLAB

  • MATLAB R20XX (replace XX with your version)
  • Relevant MATLAB toolboxes (if any)

JavaScript, HTML, CSS

  • A modern web browser (Chrome, Firefox, Safari, etc.)
  • Node.js and npm (if you're using them)

Running the Code

MATLAB

  1. Open MATLAB.
  2. Navigate to the directory containing the .m files.
  3. Run the main script by typing its name in the command window and pressing enter.

JavaScript, HTML, CSS

  1. Open the HTML file in a web browser to view the webpage.
  2. If you're using Node.js, navigate to the project directory in the terminal and run node filename.js (replace filename.js with your JavaScript file).

Author: KEERTHIVASAN S V

#2# Flight Delay Prediction A two-stage predictive machine learning engine that forecasts the on-time performance of flights for 15 different airports in the USA based on data collected between 2016 and 2017.

  • Check out the two-stage machine learning model here!
  • Check out the details of the project in this Report!

Abstract

Flights are said to be delayed when they arrive later than the scheduled arrival time. This delay is predominantly influenced by environmental conditions. Flight delay is vexatious for passengers and also incurs an agonizingly high financial loss to airlines and countries. A structured prediction system is an indispensable tool to help aviation authorities effectively alleviate flight delays. This project aims to build a two-stage machine learning engine to effectively predict the arrival delay of a flight in minutes after departure based on real-time flight and weather data. A classifier first predicts if the flight will be delayed or not, and subsequently a regression model predicts the arrival delay in minutes if the flight is expected to be delayed.

Code Walkthrough

  1. Data directory setup
  2. Flight data pre-processing
  3. Weather data pre-processing
  4. Merging the flight and weather data
  5. Classifying flights as delayed or on-time
  6. Study of ways to handle class imbalance in the data set
  7. Random Under-sampling
  8. Random Over-sampling
  9. Synthetic Minority Over-sampling TEchnique (SMOTE)
  10. Comparison of the different sampling techniques to handle imbalance
  11. Regression model to predict the arrival delay in minutes
  12. Final implementation of the two-stage machine learning model to predict flight delay

Result

The flight and weather data were combined into a single data set and pre-processed to train a two-stage machine learning model that predicts flight arrival delay. Due to class imbalance, there was an inherent bias towards the majority class, ’Not Delayed’ flights (class 0). The data was sampled using SMOTE before classification to overcome the bias. Out of five different algorithms, the Random Forest classifier gave the best F1 score (0.78) and Recall (0.74) for the delayed flights. Subsequently, the Random Forest regressor was pipe-lined, giving MAE 7.178 minutes and RMSE 11.283 minutes with an R2 score of 0.977. In conclusion, the flight delay prediction was efficient, and the Machine Learning model exhibited good performance.

Installation Requirements

Environment

It is recommended to have a Linux or macOS development environment for convenience, although the code runs on Windows 10.
Use Anaconda to manage your packages and Python 3 (version >= 3.8.0 recommended).
Running the code on Jupyter Notebook is also recommended.

Dependencies

With Anaconda, no need to install

  • matplotlib
  • scikit-learn
  • numpy
  • pandas

Others

Remember to use conda, not pip for installing these

  • missingno
  • imblearn

Latex for documentation - Ubuntu

  • texlive-full

Data

The data files for this project are maintained privately and not available for public use.

About

Minimising Air Flight emissions and maximising the fuel efficiency of flight systems by optimized code and well defined trajectory management. Sending the data to flight booking websites and letting users book the efficient and more sustainable flights.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages