Skip to content

swarnava-96/Flight-Fare-Prediction

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Flight-Fare-Prediction

Overview

This is a Flask web app which predicts flight fare prices.

Dataset

https://www.kaggle.com/nikhilmittal/flight-fare-prediction-mh

Installation

The Code is written in Python 3.7.3 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:

1. First create a virtual environment by using this command:
conda create -n myenv python=3.7
2. Activate the environment using the below command:
conda activate myenv
3. Then install all the packages by using the following command
pip install -r requirements.txt
4. Then, in cmd or Anaconda prompt write the following code:
python app.py
Make sure to change the directory to the root folder.

Deployement on AWS Ec2 instance

Login or signup in order to create virtual app. You can access the free tier. For application deployment you have to install Putty,Puttygen and WinSCP.

Frontend Using HTML and CSS and Backend using Flask

http://ec2-13-58-188-11.us-east-2.compute.amazonaws.com:8080/

image

image

Application is currently stopped as it is chargeable.

image

Technology Stack

https://img.shields.io/badge/HTML-239120?style=for-the-badge&logo=html5&logoColor=white

Further Changes to be Done

  • Deploying the Web Application on Cloud.
    • Google Cloud
    • Azure
    • Heroku