This project predicts students' math exam scores based on their test preparation course status and scores in reading and writing using machine learning models.
The dataset contains students' scores and their test preparation course completion status. We use this data to train regression models to predict math scores. The project compares the performance of:
- Linear Regression
Various evaluation metrics such as Mean Absolute Error (MAE), Root Mean Squared Error (RMSE), and R² score are used to assess model performance.
The dataset exams.csv includes the following columns:
test preparation course: whether the student completed a prep course (noneorcompleted)math scorereading scorewriting score
- Ensure you have Python 3 installed.
- Install required libraries: pandas, numpy, scikit-learn, matplotlib.
- Run the script to train models and evaluate predictions.
python model.py