This project analyzes student performance data using a linear regression model implemented with gradient descent. Prerequisites Ensure you have Python 3.1+ installed on your system. You can download it from python.org. Setup
Clone this repository or download the source code, and run each cell in order
Install the required libraries: Copypip install pandas numpy scikit-learn matplotlib ucimlrepo
Required Libraries This project uses the following Python libraries:
pandas numpy scikit-learn matplotlib ucimlrepo
Running the Code
Ensure you're in the project directory. Run the main script: python cs4375_ao1.py
The script will output:
Best hyperparameters Training and test Mean Squared Error (MSE) Top 10 most important features
Troubleshooting If you encounter any issues:
Ensure all required libraries are installed correctly. Check that you're using a compatible Python version (3.1+). Verify that the dataset is accessible through the ucimlrepo library.
Note to TA If you have any difficulties running this code, please don't hesitate to reach out. I'm happy to provide additional clarification or assistance to ensure the code runs smoothly on your system.