I’m glad I came across your example to get started with a simple regression, but after looking at…
Emmanuel
1

Hi Emmanuel,

Thank you so much for the feedback.

I’ve mentioned in the orignal post that the goal of this tutorial wouldn’t be to teach you how to do Linear Regression using the best practises. Rather, I want to demonstrated PyTorch to you.

You’re right about using nn.Linear() however this post lays the foundations for me for the future blog posts that I’ll be releasing soon to build on top of this.

Thanks!