This is my first ever machine learning project (and yes, I'm excited π). It uses a simple linear regression model to predict student scores based on study hours.
What started out as a curiosity about "how AI learns stuff" turned into a hands-on project that taught me the full pipeline β from loading data to building and evaluating a model.
- π Explored the relationship between hours studied and scores
- π Trained a Linear Regression model using scikit-learn
- π Visualized data and the regression line using seaborn & matplotlib
- π€ Made predictions and evaluated the modelβs performance
- π§ͺ Tested model with custom inputs (e.g., predicting scores for 9.25 hours)
- Python (Jupyter Notebook via Anaconda)
- pandas
- scikit-learn
- matplotlib
- seaborn
- Clone this repository:
git clone https://github.com/debb-major/student-performance-linear-regression
- Install dependencies:
pip install -r requirements.txt
- Open the notebook:
jupyter notebook notebook/student_scores_analysis.ipynb
π¬ Final Thoughts I had a lot of fun doing this project and learned so much about how models learn from data. Can't wait to take on more challenges!
Thanks for checking it out π