File size: 950 Bytes
334f10d 55deb4b 334f10d | 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 | import streamlit as st
st.title("🛠️ Feature Engineering & Feature Selection")
st.markdown("""
## ✨ Feature Engineering:
Several transformations were applied to prepare the dataset for modeling:
- **Encoding:** Applied Ordinal Encoding for categorical variables.
- **Scaling:** Used RobustScaler to handle skewness and outliers.
---
## ✅ Selected Features:
The following features were selected for model training:
- Airline
- Source City
- Departure Time
- Stops
- Arrival Time
- Destination City
- Class
- Duration
- Days Left
---
## 🚫 Dropped Features:
- Unnecessary or redundant columns that did not add predictive power.
The processed dataset was then used to train and evaluate multiple regression algorithms, including KNN, Linear Regression, Decision Tree, Random Forest, and XGBoost.
""")
if st.button('Next'):
st.switch_page('pages/5_Model_Building.py')
if st.button('Go to EDA'):
st.switch_page('pages/3_EDA.py') |