A Smooth Introduction to Linear Regression and its Implementation in PyTorch (Part-I)

The term linear regression might seem a bit complex at first, but don’t worry, it is a simple but powerful concept. Let us go through an example to understand the concept better.

I will throw some random data here and see what happens. Say that we have two variables h and r, that refer to the time of the day and how…