Data Science, Linear Regression, Machine Learning, Python, Numpy.
on Unsplash Before jumping into code, you need to understand how linear regression works. In a nutshell: linear regression aims to find the line that best fits the data. The line is represented this a linear equation: y = mx + b where: • y is the target variable (the one we want to predict) • x is