StudentDepressionClassification / pages /2 Data Understanding.py
Praneeth2606's picture
Update pages/2 Data Understanding.py
08b2b03 verified
import streamlit as st
# Page Title
st.title("πŸ“Š Data Collection & Understanding")
# Data Collection Section
st.markdown("""
### πŸ“₯ Data Collection:
The dataset used in this project was collected from a student mental health survey, containing information on academic, psychological, and lifestyle factors that influence mental well-being.
#### Dataset Features:
- **Gender**: Male/Female
- **Age**: Age of the student
- **Academic Pressure**: Stress level due to academic workload
- **Study Satisfaction**: Self-reported satisfaction with study experience
- **Sleep Duration**: Average daily sleep duration
- **Dietary Habits**: Quality of diet (Balanced or Unbalanced)
- **Financial Stress**: Stress level due to financial issues
- **CGPA**: Academic performance
- **Depression**: 🎯 Target variable indicating depression status (Yes/No)
""")
# Key Understanding Section
st.markdown("""
### πŸ“š Key Understanding:
- **Data Type**: Combination of numerical (e.g., Age, CGPA) and categorical variables (e.g., Gender, Sleep Duration).
- **Data Cleaning**: Columns such as `Profession`, `City`, and `Job Satisfaction` were dropped due to irrelevance or redundancy.
- **Target Variable**: `Depression` (Binary classification - Yes or No)
The dataset is now ready for further exploration through **Exploratory Data Analysis (EDA)**.
""")
if st.button("Next >>"):
st.switch_page(r"pages/3 EDA.py")
if st.button("<< Back"):
st.switch_page(r"pages/1 Problem Statement.py")