File size: 1,168 Bytes
e4b6581 6c1c008 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 | import streamlit as st
st.title("βοΈ Flight Ticket Price Prediction App")
st.subheader("Welcome to my Machine Learning Project!")
st.markdown("""
## π Project Introduction:
Welcome to the **Flight Ticket Price Prediction App**.
In this project, I have developed a machine learning model to predict flight ticket prices based on factors such as airline, source, destination, stops, travel class, duration, and more.
I experimented with **multiple regression algorithms** including:
- **Linear Regression**
- **K-Nearest Neighbors (KNN)**
- **Decision Tree**
- **Random Forest**
- **XGBoost**
After comparing their performance using **MAE, RMSE, and RΒ² scores**, the **Random Forest Regressor** was selected as the final model for deployment due to its highest accuracy and lowest errors.
---
### π Project Overview:
- Built using Python and Streamlit
- Deployed on Hugging Face Spaces
- Machine Learning Algorithm: **Random Forest Regressor**
---
### π¨βπ» Project by:
**Srikanth Gunti**
Postgraduate Data Science Student
Nizam College, Osmania University
---
""")
if st.button('Next'):
st.switch_page('pages/1_Problem_Statement.py') |