Skip to content

VarunV991/Flight-Fare-Prediction

Repository files navigation

Flight Fare Prediction

Python 3.7 Flask Heroku

Objective

The objective of this project is to calculate the fare of a flight journey based on various parameters such as source,destination,no. of stops, etc.

Live Demo

Flight Fare Predicition

Glimpse of the Web App


GIF

Installation

The Code is written in Python 3.7. If you don't have Python installed you can find it here. If you are using a lower version of Python you can upgrade using the pip package, ensuring you have the latest version of pip. To install the required packages and libraries, run this command in the project directory after cloning the repository:

pip install -r requirements.txt

Directory Tree

├── data
├── static 
│   ├── style.css
├── templates
│   ├── index.html
│   ├── result.html
├── Flight_Fare_Prediction.ipynb
├── Procfile
├── README.md
├── app.py
├── flightfarepred.gif
├── requirements.txt

Dataset

The dataset is taken from kaggle. This dataset is given by MachineHack and contains various attributes which descibe a flight journey. The dataset link is given here.

Code

The code for the model, algorithms used and accuracy of the model can be found here. The trained model is available here.

Web App and Deployment

This project uses Flask for the web app and its deployment is done on Heroku.

Other Info

This project is a modified version of an older project on the same topic.The original project is available here.

About

A Machine Learning model to predict Flight Fare with flask web app and heroku deployment

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published