shanwaredevika-web/Student-Performance-Prediction ? reverse-engineered prompt

Reverse engineered prompt

Build me a simple web app that predicts a student’s performance from three inputs, study hours, attendance percentage, and previous marks.

I want a clean form where a user can enter those values, click predict, and see a result like Good or Needs Improvement on a separate page. Please make it easy to use and beginner friendly, with a basic but nice looking interface.

Use Python for the backend, Flask for the web app, and a Decision Tree model for the prediction. The app should train on the provided dataset and show the prediction on the site. Also save each prediction and the input values in a MySQL database table called predictions, so I can keep a record of what was entered.

If anything is unclear, infer the simplest sensible setup and keep it working end to end. Please include the HTML pages, styling, model training, and the database connection so I can run the whole project locally.

Are you gonna build this?

make sure you review the code using coderabbit

Try freeSponsored — opens CodeRabbit in a new tab