Skip to content

Flight Fare Predictor is a machine learning project that predicts flight ticket prices using historical flight data. The model analyzes key travel features to estimate fares accurately, helping users plan trips more efficiently.

License

Notifications You must be signed in to change notification settings

RahulRajGiri15/Flight-Fare-Predictor__Machine-Learning

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

✈️ Flight Fare Predictor (Machine Learning)

Live Demo](https://flight-fare-predictor-machine-learning.onrender.com/) GitHub Repository

This web application predicts flight fares based on various input parameters such as airline, departure and arrival time, source, destination, duration, and number of stops. It uses a trained machine learning model to estimate prices, helping users plan their travel more efficiently.


Features

  • Predicts flight fare using real-time user inputs
  • Trained using regression algorithms on actual flight fare data
  • Clean and responsive web UI built with Flask
  • Deployed and accessible online via Render

Machine Learning Model

  • Model Used: Random Forest Regressor (or specify if different)
  • Training Data: Includes airlines, journey dates, stops, duration, source, and destination
  • Techniques: Feature engineering, label encoding, one-hot encoding
  • Model Evaluation: RMSE, R² Score (Add your actual results if available)

Tech Stack

  • Frontend: HTML5, CSS3, Bootstrap
  • Backend: Python, Flask
  • ML Libraries: Scikit-learn, Pandas, NumPy, Joblib
  • Deployment: Render

Screenshots *

Screenshot 2025-05-18 142443 Screenshot 2025-05-18 142806 Screenshot 2025-05-18 142846


How to Run Locally

# Clone the repo
git clone https://github.com/RahulRajGiri15/Flight-Fare-Predictor__Machine-Learning
cd Flight-Fare-Predictor__Machine-Learning

# Install required packages
pip install -r requirements.txt

# Run the Flask application
python app.py

# Visit in your browser
http://127.0.0.1:5000/

Author

Made with ❤️ by Rahul Kumar Giri

Let’s connect: 🔗 Portfolio 🔗 LinkedIn 🔗 GitHub

About

Flight Fare Predictor is a machine learning project that predicts flight ticket prices using historical flight data. The model analyzes key travel features to estimate fares accurately, helping users plan trips more efficiently.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published