Essential Matrix Algebra for Neural Networks, Clearly Explained!!!

preview_player
Показать описание
Although you don't need to know matrix algebra to understand the ideas behind neural networks, if you want to code them or read the latest manuscripts about the field, then you'll need to understand matrix algebra. This video teaches the essential topics in matrix algebra and shows how a neural network can be written as a matrix equation, and then shows how understand PyTorch documentation, error messages and the equations for Attention, which is the fundamental concept behind ChatGPT.

Note: If you want to learn more about neural networks...
...backpropagation...
...the ReLU activation function...
...tensors...
...SoftMax...
...Transformers and Attention...

If you'd like to support StatQuest, please consider...
...or...

...buying my book, a study guide, a t-shirt or hoodie, or a song from the StatQuest store...

...or just donating to StatQuest!
venmo: @JoshStarmer

Lastly, if you want to keep up with me as I research and create new StatQuests, follow me on twitter:

0:00 Awesome song and introduction
2:35 Introduction to linear transformations
5:57 Linear transformations in matrix notation
7:34 Matrix multiplication
11:03 Matrix multiplication consolidates a sequence of linear transformations
13: 46 Order matters for matrix multiplication
15:18 Transposing a matrix
16:37 Matrix notation and equations
18:51 Using matrix equations to describe a neural network
24:26 nn.Linear() documentation explained
26:38 1-D vs 2-D error messages explained
27:17 The matrix equation for Attention explained

#StatQuest #neuralnetworks #matrixalgebra
Рекомендации по теме
Комментарии
Автор

All visual learners are blessed by the great Josh Starmer!

binry_dstructr
Автор

What you do is nothing short of a miracle! Immense gratitude

chefmategpt-vu
Автор

Could you please make a video about QLORA? ❤ You're our savior when it comes to understanding complex concepts, thank you man

free_thinker
Автор

I found this channel when searching for a clear explanation of central limit theorem on Google (after doing some simulation in R using sample size much less than 30 and being intrigued by the results I got) and I just want to say I love the content so much! (And the ukulele episode ❤) I’ve recently started some machine learning classes on coursera and EdX, and I must say the explanation you have here in these episodes are SO MUCH BETTER AND MORE TO THE POINT/BETTER DEFINED than the multi thousand dollar classes (I’m surely glad I chose to audit them first!) taught by professors from Harvard or Engineers working for Google/IBM. So much better!… ❤❤❤

Just want to say thank you and Merry Christmas! I know I will be going through these videos one by one in the coming months…

arenashawn
Автор

I was thinking about taking a course to learn matrix algebra yesterday. Thanks for posting this video. It is really helpful and it is like a wish came true.

ritshpatidar
Автор

Hi Josh... would you please make a video and explain the differences between different statistical tests like t, z, chi... I want to know the differences and when to use each.

MohsenEedloo
Автор

Crisp and clear explanation on matrix multiplication in the context of neural networks. Moreover, the quality of graphics/visual presentation is impeccable!

yurobert
Автор

You have been staying the course for a long, long time. It's not so easy ! Keep up the good work!

백영래-ux
Автор

Baaam this is good :D I have been waiting for this, to be honest, I had the feeling that one day you would make such a tutorial. Your content is great.

ShadArfMohammed
Автор

Squatch: So it's all just matrix multiplication?

Josh: Always has been

louisnemzer
Автор

Really amazing work! This set of videos (neural network playlist) has really helped me in my uni coursework and project! My groupmates and I are planning to get a statquest triple bam hoodie each haha!

ageofkz
Автор

Man u deserve a thousand times more subscribers

haitematik
Автор

Thank you for explaining it so simply even a novice like me can understand it.

anmolarora
Автор

Wow, just the perfect video I was looking for! Loved all the Taylor references, and music puns.

varshinibalaji
Автор

Thank you for this video. I think I understand what a transformer is now.

randr
Автор

Best of the best. I'm really speechless now.

michaelzap
Автор

You will be known and remembered for the next 1000 years ..

techproductowner
Автор

Your video is just a lifesaver to me and my essay! Could you make a video on the Glove model in NLP?

kujohjotaro
Автор

Very good video ! You should remake one of the transformer videos with the matrix notation as you done at the end of this vide.

NJCLM
Автор

Please part 2 with more details, and new terms

slash_