Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

๐ŸŽ“ A full-stack MERN + Machine Learning app where teachers can manage student records and predict academic outcomes (Pass/Fail) using a trained ML model based on attendance, study habits, and performance.

Notifications You must be signed in to change notification settings

jeevan42/Sudent-performance-predictor

Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

36 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐Ÿง  Student Performance Predictor App

An end-to-end MERN + Machine Learning project where teachers can manage student records and predict their performance (Pass/Fail) based on inputs like attendance, study hours, previous marks, etc.


๐Ÿš€ Tech Stack

๐Ÿ”ง Backend

  • Node.js + Express
  • MongoDB (Mongoose)
  • JWT Authentication

๐Ÿค– ML Microservice

  • Python
  • Pandas, Scikit-learn
  • Joblib

๐Ÿ’ป Frontend

  • React.js
  • Axios
  • Tailwind
  • Material UI
  • React Router DOM, Formik + Yup, Toastify

๐Ÿ“ฆ Features

  • โœ… Teacher Register/Login
  • โœ… Add Students with data
  • โœ… Predict student result via ML
  • โœ… Store prediction history
  • โœ… Update student data
  • โœ… View single student & their predictions

๐Ÿงฎ ML Model

  • Trained with Logistic Regression on:

    • Attendance (%)
    • Study Hours per Day
    • Previous Marks (%)
    • Assignment Score
  • Output: Pass or Fail

  • Microservice built in Python, integrated via child_process.spawn in Node.js


๐Ÿ“ Project Structure

๐Ÿ“ฆ root
โ”œโ”€โ”€ ๐Ÿ“ server                           # Backend + ML Microservice
โ”‚   โ”œโ”€โ”€ ๐Ÿ“ microservice                 # Python ML code
โ”‚   โ”‚   โ”œโ”€โ”€ generate_training_data_1000.py
โ”‚   โ”‚   โ”œโ”€โ”€ predict.py
โ”‚   โ”‚   โ”œโ”€โ”€ student_performance_dataset.csv
โ”‚   โ”‚   โ”œโ”€โ”€ student_performance_model.joblib
โ”‚   โ”‚   โ””โ”€โ”€ train_model.py
โ”‚   โ”œโ”€โ”€ ๐Ÿ“ src                          # Node.js + Express backend
โ”‚   โ”‚   โ”œโ”€โ”€ ๐Ÿ“ controllers
โ”‚   โ”‚   โ”œโ”€โ”€ ๐Ÿ“ middlewares
โ”‚   โ”‚   โ”œโ”€โ”€ ๐Ÿ“ models
โ”‚   โ”‚   โ””โ”€โ”€ ๐Ÿ“ routes
โ”‚   โ”œโ”€โ”€ .env.example
โ”‚   โ”œโ”€โ”€ .gitignore
โ”‚   โ”œโ”€โ”€ package-lock.json
โ”‚   โ”œโ”€โ”€ package.json
โ”‚   โ””โ”€โ”€ server.js

โ”œโ”€โ”€ ๐Ÿ“ client                          # React.js Frontend
โ”‚   โ”œโ”€โ”€ ๐Ÿ“ public
โ”‚   โ”œโ”€โ”€ ๐Ÿ“ src
โ”‚   โ”‚   โ”œโ”€โ”€ ๐Ÿ“ assets
โ”‚   โ”‚   โ”œโ”€โ”€ ๐Ÿ“ pages
โ”‚   โ”‚   โ”‚   โ”œโ”€โ”€ ๐Ÿ“ Auth
โ”‚   โ”‚   โ”‚   โ”‚   โ”œโ”€โ”€ LoginPage.jsx
โ”‚   โ”‚   โ”‚   โ”‚   โ””โ”€โ”€ RegisterPage.jsx
โ”‚   โ”‚   โ”‚   โ”œโ”€โ”€ AddStudentForm.jsx
โ”‚   โ”‚   โ”‚   โ”œโ”€โ”€ EditStudentForm.jsx
โ”‚   โ”‚   โ”‚   โ”œโ”€โ”€ Dashboard.jsx
โ”‚   โ”‚   โ”‚   โ”œโ”€โ”€ Header.jsx
โ”‚   โ”‚   โ”‚   โ””โ”€โ”€ StudentDetails.jsx
โ”‚   โ”‚   โ”œโ”€โ”€ ๐Ÿ“ services
โ”‚   โ”‚   โ”‚   โ”œโ”€โ”€ api.js
โ”‚   โ”‚   โ”‚   โ””โ”€โ”€ toastNotifications.js
โ”‚   โ”‚   โ”œโ”€โ”€ App.css
โ”‚   โ”‚   โ”œโ”€โ”€ App.jsx
โ”‚   โ”‚   โ”œโ”€โ”€ constants.js
โ”‚   โ”‚   โ”œโ”€โ”€ index.css
โ”‚   โ”‚   โ”œโ”€โ”€ main.jsx
โ”‚   โ”‚   โ””โ”€โ”€ routes.jsx
โ”‚   โ”œโ”€โ”€ .env
โ”‚   โ”œโ”€โ”€ .gitignore
โ”‚   โ”œโ”€โ”€ README.md
โ”‚   โ””โ”€โ”€ eslint.config.js

โ”œโ”€โ”€ README.md


About

๐ŸŽ“ A full-stack MERN + Machine Learning app where teachers can manage student records and predict academic outcomes (Pass/Fail) using a trained ML model based on attendance, study habits, and performance.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
Morty Proxy This is a proxified and sanitized view of the page, visit original site.