Skip to content
Student-Performance-ML

Student-Performance-ML

AI-Powered Student Performance Prediction Tool

Created on 27th November 2025

•

Student-Performance-ML

Student-Performance-ML

AI-Powered Student Performance Prediction Tool

The problem Student-Performance-ML solves

The Problem It Solves

Most learning environments have difficulties defining the performance of a student before final exams or evaluations. Teachers, mentors, and parents often need to guess, take incomplete observations, or wait for exam results to understand which students need their assistance.

This leads to:

❗ Late Identification of struggling students

❗ No customized learning path

Outcomes not easily predicted early on.

❗ Inefficient decision-making for educators

❗ Students not getting support at the right time

How this project helps the community.

This Student Performance Prediction System predicts the academic outcome of a student using Machine Learning based on several variables, including:

Study time

Preparing for tests

Parental education

Attendance

Past scores

Learning habits

Based on these predictions, the following makes existing tasks easier and wiser:

Early Risk Detection

Educators can identify low-performing students before the exams and take early action.

???? Personalised Learning Support

Students will receive guidance based on their weak points.

Data-Driven Decision Making

Removes guesswork: Teachers and institutions can rely on ML-backed insights.

Improvement in Academic Performance

This helps a student to modify their learning habits and increases their chances of scoring better.

???? User-Friendly Streamlit Interface

The web app allows any teacher, tutor, student, and parent to use the model without coding.

Challenges I ran into

Challenges I Ran Into

Working on this project was exciting, but honestly, it wasn’t smooth all the way. I faced several challenges that really tested my patience — and helped me grow as a developer.

🔹 1. Dealing With Messy Data

The dataset wasn’t clean at all — missing values, inconsistent entries, and weird formatting.
Because of that, my model’s accuracy dropped heavily in the beginning.

How I fixed it:
I spent time cleaning and preprocessing the data properly — filling missing values, encoding categorical columns, and scaling numerical features. Once the data was clean, the model started behaving much better.

🔹 2. Confusion About Which ML Model to Choose

This was one of the trickiest parts.
Every model gave different results — some overfitted badly, and some gave very low accuracy.

What I did:
I experimented with multiple models and compared them using accuracy, F1-score, and confusion matrix.
After many trials, Random Forest turned out to be the most stable and reliable.

🔹 3. Understanding Which Features Actually Matter

Initially, I just threw all the features into the model without thinking much.
Later, I realized not all of them were useful, and some were even confusing the model.

How I solved it:
I used feature importance and correlation heatmaps to identify what actually impacts student performance.
This made the model cleaner and more interpretable.

🔹 4. Streamlit Not Running on My System

This was the most frustrating challenge.
Even after installing Streamlit, the terminal kept saying:

"streamlit is not recognized as a command"

I spent hours trying different solutions.

How I fixed it:
I finally set up Python PATH correctly, reinstalled Streamlit, and created a new virtual environment.
After that, everything worked smoothly.

🔹 5. Creating a Simple, Clean & User-Friendly UI

Even after the ML part was done, designing a UI that feels simple for teachers/students was tough.

How I solved it:
I used Streamlit widgets like sliders, dropdowns, and columns, and focused on keeping the layout minimal and easy to understand.

🔹 6. Connecting the Project to Real-Life Use

As a student, it was honestly challenging to understand how my model would help in real educational scenarios.

What helped:
I tried to think from a teacher’s perspective —
Which students need help? What study habits improve performance? What factors matter most?
This approach helped me bring real meaning to the predictions.

Technologies used

Discussion

Builders also viewed

See more projects on Devfolio