Skip to content

This repository hosts the Flight Price Prediction Project, using machine learning to predict ticket prices from EaseMyTrip data. Collected over 50 days in 2022, it supports a business case for launching a competitive airline in India. XGBoost achieved high accuracy (R² = 0.97), offering key pricing insights.

Notifications You must be signed in to change notification settings

bruhu/machine-learning-project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

97 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Flight Price Prediction Project

Project overview and dataset

The aim of this study is to analyze the flight booking dataset sourced from the "Ease My Trip" website and try to deploy machine learning methods to predict the price of the flights. EaseMyTrip is an online platform for booking flight tickets, commonly used by potential passengers to purchase tickets. Data was collected for 50 days, from February 11th to March 31st, 2022 and can be found here:

Kaggle - Flight Price Prediction

Business case

Our proposed business case involved launching a new airline in India in February 2025. Using machine learning techniques on this dataset, our goal was to predict the average ticket price for the first 50 days of operation and strategically set our pricing to achieve a competitive edge.

Machine learning methods used

  • Linear Regression
  • KNN
  • ADABoost
  • Bagging & Pasting
  • Random Forest
  • Gradient Boosting
  • XGBoost (eXtreme Gradient Boosting) -> you have to pip install xgboost to run the notebook

The XGBoost model had the best performance with R2 score of 0.97.

Findings and insights

By leveraging Machine Learning techniques, we could develop a price prediction model to assist the airline in setting ticket prices. Additionally, the Exploratory Data Analysis (EDA) provided valuable insights into the most significant factors influencing flight prices.

About

This repository hosts the Flight Price Prediction Project, using machine learning to predict ticket prices from EaseMyTrip data. Collected over 50 days in 2022, it supports a business case for launching a competitive airline in India. XGBoost achieved high accuracy (R² = 0.97), offering key pricing insights.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •