1_Linear Regression with MSE Function PLot
1_Linear Regression with MSE Function PLot
ipynb - Colab
# Calculating the Mean Squared Error -> This is what needs to be minimized for the line of best fit
#What can be the possible y=f(x) relationship if x denotes the error y is the outcome
mse = np.mean((y - y_pred)**2)
https://colab.research.google.com/drive/16uRXrSm8m0ARl7A9kJfBpeuVdLzYGUie#printMode=true 1/2