|
import streamlit as st |
|
|
|
|
|
st.title("π Data Collection & Understanding") |
|
|
|
|
|
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) |
|
""") |
|
|
|
|
|
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") |