This project unlocks the secrets behind airline profitability using cutting-edge machine learning and data-driven insights! π
The Airline Profit Prediction system predicts airline profits based on real-world financial and operational metrics. It helps airlines make informed decisions, optimize resources, and boost revenue! π₯
- π§ Smart Predictions: Uses historical airline data to predict future profits.
- π οΈ Data Processing & Cleaning: Transforms messy data into meaningful insights.
- π‘ Feature Engineering: Creates powerful new metrics that improve accuracy.
- π Power BI Dashboards: Interactive visualizations for deep analysis.
- π Automated Updates: Keeps predictions fresh and accurate.
We plan to integrate the following:
- π‘ API Deployment on Azure: Enable real-time profit prediction and easy access.
- π Advanced Power BI Integration: Enhanced visualization with real-time analytics.
- π Continuous Model Improvement: Uploading new datasets to improve model accuracy.
We chose Random Forest Regression because:
- It captures non-linear relationships in airline data.
- It reduces overfitting by averaging multiple decision trees.
- It handles missing and categorical values better.
Linear Regression assumes a linear relationship, which may not hold in complex airline data.
We used Standard Scaler because:
- It ensures a zero mean and unit variance, making it suitable for ML models sensitive to feature scales.
- MinMax Scaler can distort data when outliers are present, making it less effective.
βοΈ Python 3.8+
βοΈ Virtual Environment
βοΈ Power BI Desktop
# Clone the repository
git clone https://github.com/Sadnya20/Airline-Profit-Prediction.git
cd Airline-Profit-Prediction
# Create virtual environment
python -m venv venv
source venv/bin/activate # On Windows use `venv\Scripts\activate`
# Install dependencies
pip install -r requirements.txtpython main.py --mode train --data_path data/raw/airline_data.csvpython main.py --mode predict --input your_input.jsonWant to explore your airline's profits like a pro? Our Power BI Dashboard turns raw data into beautiful, actionable insights! π¨π
- Export Predictions: Model outputs are stored in
data/processed/predictions.csv. - Load Data in Power BI: Import CSV and generate dynamic visual reports.
- Automate Updates: Schedule refreshes for real-time insights.
[https://drive.google.com/drive/folders/1LLH23USCa5rqFk09jE_nWsPHMv5TnJiI?usp=sharing]
- Sadnya Kolhe (Team Lead) - GitHub
- Daniyal Sheikh
- Sairaj Ajgaonkar
- Contributions welcome! π
This project taught us collaboration, problem-solving, and the fun of predictive modeling! π


