The aim of project is to predict the fares of the flights based on different factors available in
the provided dataset.
Life Cycle of implementing machine learning application.
- Gathering the Data
- Data Preparation
- Data Preprocessing
- Create Model
- Evaluate Model
- Deploy the model
The Flight Fare Prediction MH Open Source Dataset has been used for this purpose, taken from the Kaggle*. link is below.
- 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)
- 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
- Navigate to URL http://127.0.0.1:5000/
- 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!
Devansh Mistry - Linkedin