Linear regression is a fundamental concept in machine learning. It is heavily used in all sorts of deep learning architectures such as neural networks as an example. As a matter of fact, even ChatGPT uses linear regression to an extent. So why is linear regression called linear regression? The term regression basically means we have a line and we can an n number of…