Note
: Use google colab in order to view the code and interactive plotly graphs.
Kaggle link: Flight Price Data
In this project, these questions will be answered:
- Does price vary with Airlines?
- How is the price affected when tickets are bought in just 1 or 2 days before departure?
- Does ticket price change based on the departure time and arrival time?
- How the price changes with change in Source and Destination?
- How does the ticket price vary between Economy and Business class?
- Which features have the most impact on predicting flight price?
- Which model is the best for predicting flight price?
Click to expand!
- Problem statement
- Import Libraries and Data
- Handling Missing Values
- Data Analysis and Visualization
- Outlier Detection
- Check for Rare Categories
- Categorical Variables Encoding
- Dataset Splitting
- Modeling and Parameter Optimization
- Feature Importance
- Results
Sample Visualization:
Model Evaluation: