PyTorch Tutorial 07 - Linear Regression

preview_player
Показать описание
New Tutorial series about Deep Learning with PyTorch!

In this part we implement a logistic regression algorithm and apply all the concepts that we have learned so far:

- Training Pipeline in PyTorch
- Model Design
- Loss and Optimizer
- Automatic Training steps with forward pass, backward pass, and weight updates

Part 07: Linear Regression

📚 Get my FREE NumPy Handbook:

📓 Notebooks available on Patreon:

If you enjoyed this video, please subscribe to the channel!

Official website:

Part 01:

Linear Regression from scratch:

Code for this tutorial series:

You can find me here:

#Python #DeepLearning #Pytorch

----------------------------------------------------------------------------------------------------------
* This is a sponsored link. By clicking on it you will not have any additional costs, instead you will support me and my project. Thank you so much for the support! 🙏
Рекомендации по теме
Комментарии
Автор

Dear Patrick
your lectures are awesome! What a great way to get a first grip on the subject without reading through difficult manuals or reading a big book. Fab!

alexlang
Автор

I love your strong German accent. I study at a German university and you remind me of my professor. Thank you very much

psy_duck
Автор

I've been binge watching your vids, and they have been helpful for me. I'm trying to get a software developer job, and I want to put pytorch on my belt. So, thanks for these vids again. Your information is straight to the point, accurate and easy to follow.

michaeltsang
Автор

Zuerst vielen Dank für deine ausgezeichneten Tutorials. Jedoch macht es didaktisch viel Sinn, die Zwischenergebnisse zu zeigen, um dem Zuseher ein tieferes Verständnis zu vermitteln.

soerengebbert
Автор

All your series are great! Thanks a lot!

davidkhassias
Автор

All his lectures are so good. I really liked his work

naveedmazhar
Автор

Thank you very much.
I love your gernan accent, and your tutorial helped me learn pytorch.

mohammadkarimi
Автор

Great Job sir! Thank you so much for your informative sessions

swethanandyala
Автор

thank you so much, so detailed lecture, appreciated

ridael-mehdawe
Автор

thank you so much for giving a complex concept in an easy way I am learning pytorch from your tutorial. please extend to seq2seq model and also make example of language translation in RNN module thank you again

computerscience
Автор

Question: At 100th epoch, the loss is 567. Without looking at the plot, how do I know that this loss is good enough? Because in the previous examples, the losses were near zero.

jyotipch
Автор

Thank You for the excellent tutorial series
I am new to PyTorch and I am a little confused at 6:07 here MSELoss is a class so criterion will be an object but you said it as a callable function and used this object as a function to compute the loss. how is it possible to use the object of a class as a function? can u please explain or point out to some resources
Thank You

bijjalanaganithin
Автор

Hi Bro,
I couldn't stop thanking you again and again...It was such an amazing explanation.
can we connect in linked-In or in any other platforms aswell?

ravivarma
Автор

okay so a quick question.
when i use pytorch. i get very high accuracy in my new data.
but when i use sklearn, though i get very high accuracy too, but i takes less time
why does that happen? isn't sklearn doing the same thing we did ? 🤔

Aditya_Kumar__pass
Автор

Can someone explain why we do loss.item() here instead of simply loss, as done in previous tutorials?

priyanshumohanty
Автор

10:53 why do you need to call detach() at line #50 but not at line #34

itsadira
Автор

Hello! Why don't we iterate over n_samples in training loop?

vl
Автор

thank you so musch, but i can't import datasets. could you help me?

lucenHan
Автор

It aint clear what is the use of sklearn dataset, what does that function do, and all the parameters of the function do? can you please explain?

darkchoclate
Автор

Why do we have to reshape the y (line 18) but not the X also?

HoangNguyen-bevy