Skip to content
Andi Muhammad Aqil
All projects
Academic project

Student Depression Prediction

An academic machine-learning classification project.

Key capability
Logistic Regression reached 83.66% accuracy
27,901 × 18records × featuresLogistic RegressionDecision TreeKNN83.66%accuracy (LR)

Overview

An academic machine-learning project framed as a binary classification task. I prepared the dataset, trained three classic models and compared them to find the best balance of precision and recall.

This was an academic classification exercise. It is not a medical or diagnostic tool, and its results make no clinical claims.

Dataset

Records
27,901
Features
18
Train / test split
80 / 20
Task
Binary classification

Implementation

From raw data to a compared set of models.

  1. 1

    Preprocess

    Cleaned the data and handled missing values.

  2. 2

    Encode

    Applied label encoding and one-hot encoding.

  3. 3

    Split

    80/20 train–test split.

  4. 4

    Train and compare

    Logistic Regression, Decision Tree and K-Nearest Neighbors.

Result

Best model
Logistic Regression
Accuracy
83.66%

Logistic Regression was identified as the best-performing model, offering the most balanced precision and recall of the three.

Future improvements

  • Try Random Forest
  • Try Gradient Boosting
  • Further feature engineering

Want to work together? Get in touch.

17 results