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.
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
├── data
├── static
│ ├── style.css
├── templates
│ ├── index.html
│ ├── result.html
├── Flight_Fare_Prediction.ipynb
├── Procfile
├── README.md
├── app.py
├── flightfarepred.gif
├── requirements.txt
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.
The code for the model, algorithms used and accuracy of the model can be found here. The trained model is available here.
This project uses Flask for the web app and its deployment is done on Heroku.
This project is a modified version of an older project on the same topic.The original project is available here.