Because thatâ€™s not a regression method, and it doesnâ€™t work if there are multiple features. And it isnâ€™t practical if the data set is very large.

Sorry, what I had in mind by â€śregression methodâ€ť was the classic machine learning technique of linear regression, which is an iterative method based on adjusting the weights based on the gradients of the cost function.

This method is computationally easy and scales well to very large data sets.

Well is that required if want to pursue in professional position, like for coding assessment for ML/DS? Or the course provided sample code of assignment or ungraded lab is enough for the challenge?