Skip to content

Srikannan-S/Student-Form-using-Java

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

2 Commits
Β 
Β 
Β 
Β 

Repository files navigation

πŸŽ“ Student Performance Prediction Form

A simple Python web application that collects student data through a form, predicts the student’s grade category using a trained machine learning model, and displays the predicted result.

✨ Features:

  • πŸ“ Collects student details via a user-friendly web form
  • πŸ€– Uses a machine learning model to predict student grade category
  • πŸ“Š Displays the predicted grade class dynamically
  • βœ… Validates input data before prediction
  • πŸ”§ Easily extendable for different datasets or prediction targets

πŸ› οΈ Technologies Used:

  • 🐍 Python – Backend logic and ML model integration
  • 🌐 Flask – Lightweight web framework for building the form and displaying results
  • πŸ“š scikit-learn – For building/training the prediction model (can be pre-trained)
  • 🎨 HTML/CSS – Frontend form interface

πŸš€ Installation & Usage:

  1. Clone the repository:

    git clone https://github.com/yourusername/student-performance-prediction.git
    cd student-performance-prediction
  2. Install required packages:

    pip install flask scikit-learn pandas numpy
  3. Place your trained ML model file (model.pkl) in the project directory (or update the script to use your model).

  4. Run the Flask app:

    python app.py
  5. Open your browser and go to:

    http://127.0.0.1:5000/
  6. Fill out the form with student data and submit to see the predicted grade class.

βš™οΈ How It Works:

  • The app presents a form to enter student info such as gender, parental education, tutoring status, etc.
  • Upon submission, the backend script preprocesses the data and feeds it to the ML model.
  • The model outputs a predicted grade class (1, 2, 3, or 4).
  • The prediction is shown on the result page dynamically.

πŸ“‚ Project Structure:

πŸ“‚student-performance-prediction/
β”œβ”€β”€ app.py            # Flask app and prediction logic
β”œβ”€β”€ model.pkl         # Pre-trained ML model file (pickle)
β”œβ”€β”€ templates/
β”‚   β”œβ”€β”€ index.html    # HTML form page
β”‚   └── result.html   # Prediction result page
└── README.md         # Project documentation

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages