This repository features a Deep Learning project designed to predict depression status among students by analyzing demographic data, academic performance, and lifestyle habits.
Mental health in academic environments is a critical concern. This project utilizes the Student Depression Dataset to build an Artificial Neural Network (ANN) that identifies potential depression markers with high accuracy.
The core objective was to explore how metrics like Academic Pressure, Study Satisfaction, and Sleep Duration correlate with mental well-being.
- Language: Python 3.x
- Frameworks: TensorFlow / Keras
- Libraries: Pandas, NumPy, Scikit-learn, Matplotlib
- Environment: Google Colab / Jupyter Notebook
The dataset consists of 27,001 entries with 18 features (e.g., CGPA, Financial Stress, Family History).
- Data Cleaning: Removed duplicates and handled missing values.
- Feature Engineering: Categorical variables were encoded, and irrelevant columns (like IDs) were dropped.
- Normalization: Features were scaled using
MinMaxScalerfor optimal neural network convergence.
After iterative testing, the final model was built using a Sequential API:
- Input Layer: Matches the feature dimensions of the preprocessed dataset.
- Hidden Layers: Multiple Dense layers with
ReLUactivation. - Regularization: Integrated Dropout layers to prevent overfitting and improve generalization.
- Output Layer: Single neuron with
Sigmoidactivation for binary classification. - Optimizer:
Adam(with tuned learning rates).
The model successfully captured the complex patterns of student psychology, achieving the following metrics:
- Validation Accuracy: ~84.00%
- Test Accuracy: 85.29%
- Test Loss: 0.34
Note: The results suggest that even with simple metrics like sleep duration and study hours, the model provides a robust baseline for mental health screening.
- Clone the repository:
git clone https://github.com/zer0dayf/Student-Depression-Classification-DL.git
- Install dependencies:
pip install -r requirements.txt
- Run the notebook located in the notebooks/ directory.
Developed by: [Γner Efe GΓΌngΓΆr]