Skip to content

This project is used to predict flight airfare. I use Flight Price Dataset provided by Kaggle Flight Price

License

Notifications You must be signed in to change notification settings

naiborhujosua/Flight-Price-Prediction

Repository files navigation

Flight-Price-Prediction

  1. Project Motivation
  2. File Descriptions
  3. Results
  4. Licensing, Authors, and Acknowledgements

Project Motivation

I was interested in Flight Airfare Prediction listings to help tourists find the right flight airfare based on their needs.

File Descriptions

This Project is used to predict the flight prices. We will use Flight Price Dataset provided by Kaggle Flight Price. This dataset consists of 10683 records with 13 columns that explain about the flight in India by some Indian and foreign Airlines in 2019. We will analyze this dataset using Machine learning techniques in order to predict the flight ticket price based on the features provided in the columns of the dataset. We will begin the Data Science Life Cycle to process the data such as Cleaning the dataset, feature engineering, splitting dataset, feature selection, and hyperparameter tuning.

Results

The main findings of the code can be found at the post available on my medium here.

3. Modelling and Evaluation

  • Algorithms used

    • Random Forest
    • Extra Trees Regressor
  • Metric - Since the target variable is a continuous variable, regression evaluation metric RMSE (Root Mean Squared Error) and R2 Score (Coefficient of Determination) have been used.

4. Results

Feature correlation

Feature correlation

Feature importance

Feature importance

Accuracy before Hyperparameter Tuning

Final Comparison

Accuracy After Hyperparameter Tuning

Final Comparison

Licensing, Authors, Acknowledgements

Credited to Kaggle for availability of the data. You can find the License for the data and other descriptive information in the Kaggle available here. Otherwise, feel free to use the code here as you would like!

About

This project is used to predict flight airfare. I use Flight Price Dataset provided by Kaggle Flight Price

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published