This repository contains the source code for a Flight Prediction System, which is a machine learning-based web application that allows users to predict the cost of a flight based on their desired travel details.
The system is built using Python and FastAPI, and uses a random forest regression model and XGBoost regression model to make predictions based on the user's input. The trained models have been saved as pickle files and are loaded into the Flask app to make real-time predictions.
1.Install the dependencies
pip install -r requirements.txt
- Run the
app.py
file in your terminal:
python app.py
- Run the
streamlit_app.py
file in your terminal:
streamlit run streamlit_app.py
- Any contributions you make are greatly appreciated
- Would be glad to hear about new features to add in the website
This project follows the MIT LICENSE.