Linear Regression, Linear Algebra, Mathematics, Statistics, Data Science.
Linear algebra is a powerful tool in any mathematician’s arsenal; today, we explore how matrices can be used to plot lines and curves of best fit for a given set of data points. Motivation Regression is intimately tied to the idea of projection matrices ― a projection matrix P maps a vector b onto