Skip to content

DevanshMistry890/flight-fare-prediction

Repository files navigation

Flight Fare Prediction 😍

Description

Travelling through flights has become an integral part of today’s lifestyle as more and more people are opting for faster travelling options. The flight ticket prices increase or decrease every now and then depending on various factors like timing of the flights, destination, and duration of flights various occasions such as vacations or festive season. Therefore, having some basic idea of the flight fares before planning the trip will surely help many people save money and time.

Objectives

The aim of project is to predict the fares of the flights based on different factors available in the provided dataset.

Life Cycle of Machine Learning Project

Life Cycle of implementing machine learning application.

  • Gathering the Data
  • Data Preparation
  • Data Preprocessing
  • Create Model
  • Evaluate Model
  • Deploy the model

Dataset

The Flight Fare Prediction MH Open Source Dataset has been used for this purpose, taken from the Kaggle*. link is below.

Homepage, Form, Result (Responsive)



🛠️ Requirements

  • Python (Programming Language version 3.7+)
  • Flask (Python Backend Framework)
  • sklearn (Machine Learning Library)
  • pandas (Python Library for Data operations)
  • NumPy (Python Library for Numerical operations)
  • VS code (IDE)
  • Azure (Cloud platform)

How to run this code...

  • Create virtual environment
conda create -n myenv python=3.8
  • Activate the environment
conda activate myenv
  • Install the packages
pip install -r requirements.txt
  • Run the app
python app.py

  • Choose Interaction Method with Model.
  • Enter valid values in all input boxes and hit Predict or Upload csv file and hit predict.

If everything goes well, you should be able to see the prediction on the appropriate page!

Authors

Devansh Mistry - Linkedin

If you like this project, please do give the star. If you have any suggestions or issues, please drop me a message.

Releases

No releases published

Packages

No packages published

Languages