AI Foundations: Linear Regression in Machine Learning