The StatQuest Introduction to PyTorch

PyTorch is one of the most popular tools for making Neural Networks. This StatQuest walks you through a simple example of how to use PyTorch one step at a time. By the end of this StatQuest, you'll know how to create a new neural network from scratch, make predictions and graph the output, and optimize a parameter using backpropagation. BAM!!!
To learn more about Lightning: lightning.ai/
The code demonstrated this video can be downloaded here:
lightning.ai/lightning-ai/stu...
This StatQuest assumes that you are already familiar with...
Neural Networks: • The Essential Main Ide...
Backpropagation: • Neural Networks Pt. 2:...
The ReLU Activation Function: • Neural Networks Pt. 3:...
Tensors: • Tensors for Neural Net...
To install PyTorch see: pytorch.org/get-started/locally/
To install matplotlib, see: matplotlib.org/stable/users/g...
To install seaborn, see: seaborn.pydata.org/installing...
For a complete index of all the StatQuest videos, check out...
app.learney.me/maps/StatQuest
...or...
statquest.org/video-index/
If you'd like to support StatQuest, please consider...
Buying The StatQuest Illustrated Guide to Machine Learning!!!
PDF - statquest.gumroad.com/l/wvtmc
Paperback - www.amazon.com/dp/B09ZCKR4H6
Kindle eBook - www.amazon.com/dp/B09ZG79HXC
Patreon: / statquest
...or...
KZread Membership: / @statquest
...a cool StatQuest t-shirt or sweatshirt:
shop.spreadshirt.com/statques...
...buying one or two of my songs (or go large and get a whole album!)
joshuastarmer.bandcamp.com/
...or just donating to StatQuest!
www.paypal.me/statquest
Lastly, if you want to keep up with me as I research and create new StatQuests, follow me on twitter:
/ joshuastarmer
0:00 Awesome song and introduction
1:38 Coding preliminaries
2:15 Creating a neural network in PyTorch
7:54 Graphing the neural network's output
10:47 Optimizing a parameter with backpropagation
#StatQuest #NeuralNetworks #PyTorch

Пікірлер: 348

  • @statquest
    @statquest2 жыл бұрын

    The code demonstrated this video can be downloaded here: lightning.ai/lightning-ai/studios/statquest-introduction-to-coding-neural-networks-with-pytorch?view=public§ion=all To learn more about Lightning: lightning.ai/ This StatQuest assumes that you are already familiar with... Neural Networks: kzread.info/dash/bejne/daWDyMttYa_MdNo.html Backpropagation: kzread.info/dash/bejne/e4Jmus97mKyypJc.html The ReLU Activation Function: kzread.info/dash/bejne/aGx2vJefZ7OfZKg.html Tensors: kzread.info/dash/bejne/fmdpyKh9oNqvfZc.html To install PyTorch see: pytorch.org/get-started/locally/ To install matplotlib, see: matplotlib.org/stable/users/getting_started/ To install seaborn, see: seaborn.pydata.org/installing.html Support StatQuest by buying my book The StatQuest Illustrated Guide to Machine Learning or a Study Guide or Merch!!! statquest.org/statquest-store/

  • @yongjiewang9686

    @yongjiewang9686

    2 жыл бұрын

    REALLY Hope you can continue with this PyTorch tutorial.

  • @statquest

    @statquest

    2 жыл бұрын

    @@yongjiewang9686 Will do!

  • @shichengguo8064

    @shichengguo8064

    2 жыл бұрын

    Do we have video talking about transformer? Thanks.

  • @statquest

    @statquest

    2 жыл бұрын

    @@shichengguo8064 Not yet, but soon.

  • @Mayur7Garg

    @Mayur7Garg

    Жыл бұрын

    Just a small comment. Any variable should not be named similar to any builtin in Python. The 'input' variable in forward should have been called something else since it is already a builtin function in Python. Otherwise, you end up overriding the builtin within that scope.

  • @santoshmohanram536
    @santoshmohanram5362 жыл бұрын

    Favorite teacher with my favorite Deep learning framework. Lucky to have you. Thanks brother🙏

  • @statquest

    @statquest

    2 жыл бұрын

    Wow, thanks

  • @firesongs
    @firesongs2 жыл бұрын

    Please continue to go through every single line of code including the parameters with excruciating detail like you do. None of my professors went over each line like that cuz they always "assumed we already knew" and everyone in the class who didnt already know was afraid to ask to avoid looking stupid. Thank you.

  • @statquest

    @statquest

    2 жыл бұрын

    Thanks! Will do!

  • @sapnasharma4476
    @sapnasharma44762 жыл бұрын

    Thanks for the awesome tutorial! You make the most difficult things so easy to understand, specially with the visuals and the arrows and all! The comments written on the right hand side make it so more helpful to pause and absorb. I would never miss a video of your tutorials!

  • @statquest

    @statquest

    2 жыл бұрын

    Hooray! I'm glad you like my videos. :)

  • @frederikschnebel2977
    @frederikschnebel29772 жыл бұрын

    Thanks so much for this gem John! Literally got a PyTorch project coming up and your timing is just perfect. Greatly appreciate the content, keep up the good work :)

  • @statquest

    @statquest

    2 жыл бұрын

    Thank you!

  • @youlahr7589
    @youlahr75892 жыл бұрын

    Ive used PyTorch for projects before, but I can honestly say that I never fully understood the workings of building a model. I knew that i needed the peices you mentioned, but not why I needed them. You've just explained it incredibly. Please don't stop making this series!!

  • @statquest

    @statquest

    2 жыл бұрын

    Thank you very much! :)

  • @AlbertsJohann
    @AlbertsJohann2 жыл бұрын

    What a great feeling when it all clicks after learning about all these concepts in isolation. All thanks to an incredibly brilliant teacher! Triple BAM!!!

  • @statquest

    @statquest

    2 жыл бұрын

    Hooray!!! Thank you!

  • @gummybear8883
    @gummybear88832 жыл бұрын

    What a blessing this is. You are indeed the Richard Feynman of Data Science.

  • @statquest

    @statquest

    2 жыл бұрын

    Thank you!

  • @binhle9475
    @binhle9475 Жыл бұрын

    AMAZING video. This is exactly what beginners need to start the Pytorch journey with a semi solid footing instead of mindless copying. Yoy must have spent so much time for your AWESOME videos. GREATLY appreciate your effort. Keep up the good work.

  • @statquest

    @statquest

    Жыл бұрын

    Thank you very much! :)

  • @footballistaedit25
    @footballistaedit252 жыл бұрын

    Thanks for the best content you bring. I hope you continue to make a full pytorch playlist

  • @statquest

    @statquest

    2 жыл бұрын

    That's the plan!

  • @footballistaedit25

    @footballistaedit25

    2 жыл бұрын

    @@statquest Thank you so much

  • @viveksundaram4420
    @viveksundaram44202 жыл бұрын

    Man, you are love. I started my neural net journey from your videos and it's the best decision I made. Thank you

  • @statquest

    @statquest

    2 жыл бұрын

    Hooray!

  • @insushin6139
    @insushin61395 ай бұрын

    StatQuest is the GOAT in statistics, machine learning, and deep learning! You're videos are really helping me understanding the concepts and outline of these fields! Love from Korea!

  • @statquest

    @statquest

    5 ай бұрын

    Thank you!

  • @karlnikolasalcala8208
    @karlnikolasalcala82089 ай бұрын

    YOU ARE THE BEST TEACHER EVER JOSHH!! I wish you can feel the raw feeling we feel when we watch your videos

  • @statquest

    @statquest

    9 ай бұрын

    Thank you?

  • @jonnhw
    @jonnhw2 жыл бұрын

    Was looking for a pytorch resource and was disappointed when this channel didnt have one yet but then this got uploaded. Really a blessing to the people haha

  • @statquest

    @statquest

    2 жыл бұрын

    Thanks!

  • @kaanzt
    @kaanzt11 ай бұрын

    That's really cool explanation! Please continue this PyTorch series, we really need it. BAM!

  • @statquest

    @statquest

    11 ай бұрын

    Will do!

  • @the_real_cookiez
    @the_real_cookiez2 жыл бұрын

    Quality educational content! It's so cool to see your channel grow. Been here since ~90k subs! Very well earned.

  • @statquest

    @statquest

    2 жыл бұрын

    Wow! Thank you very much!!! BAM! :)

  • @amirhosseinafkhami2606
    @amirhosseinafkhami26062 жыл бұрын

    Great explanation as always! Thanks for making content like this, which complements the theoretical concepts.

  • @statquest

    @statquest

    2 жыл бұрын

    Glad you liked it!

  • @anashaat95
    @anashaat95 Жыл бұрын

    This series about neural networks and deep learning is very well explained. Thank you soooooooo much.

  • @statquest

    @statquest

    Жыл бұрын

    Thank you!

  • @veronikaberezhnaia248
    @veronikaberezhnaia2482 жыл бұрын

    Amazing content, as always. Before I was a bit afraid to start closing in torch, so thank you to encourage le to do that!

  • @statquest

    @statquest

    2 жыл бұрын

    bam! You can do it! :)

  • @jessicas2978
    @jessicas29782 жыл бұрын

    Thank you so much, Josh. I have been learning PyTorch and deep learning. This video helps me a lot!

  • @statquest

    @statquest

    2 жыл бұрын

    Great to hear!

  • @mahammadodj
    @mahammadodj Жыл бұрын

    Thank you very much! I am new to Deep Learning. I can say that just in one week i learned a lot of things from your tutorials!

  • @statquest

    @statquest

    Жыл бұрын

    Happy to hear that!

  • @ais3153
    @ais31532 жыл бұрын

    BIG LIKE before watching 👍🏻 please continue the pytorch series

  • @statquest

    @statquest

    2 жыл бұрын

    Will do! :)

  • @jamilahmed2926
    @jamilahmed29269 ай бұрын

    I have lived long enough to watch videos and understand nothing about ML stuffs, until I saw your videos. I truly wish your well being

  • @statquest

    @statquest

    9 ай бұрын

    Thank you!

  • @Ajeet-Yadav-IIITD
    @Ajeet-Yadav-IIITD2 жыл бұрын

    Thank you Josh, pls continue this series of pytorch!

  • @statquest

    @statquest

    2 жыл бұрын

    Will do!

  • @xedvap
    @xedvap Жыл бұрын

    Looking forward to seeing your following videos! Excellent explanation!

  • @statquest

    @statquest

    Жыл бұрын

    Awesome, thank you!

  • @StratosFair
    @StratosFair2 жыл бұрын

    Nice video, looking forward to the next ones on Pytorch Lightning !

  • @statquest

    @statquest

    2 жыл бұрын

    Me too! BAM! :)

  • @kleanthivoutsadaki5989
    @kleanthivoutsadaki5989 Жыл бұрын

    thanks Josh, you really make understanding Neural Networks concepts a great process!

  • @statquest

    @statquest

    Жыл бұрын

    Thank you! :)

  • @kwang-jebaeg2460
    @kwang-jebaeg24602 жыл бұрын

    Wonderful !!! Cant wait your pytorch lightning code for NN. Always thanks alot !!

  • @statquest

    @statquest

    2 жыл бұрын

    bam! :)

  • @MugIce-lr6ui
    @MugIce-lr6uiАй бұрын

    Hello! Not sure if anyone's pointed this out yet, but the code on 10:14, 12:09, and 22:42 needs a small addition, `plt.show()`, or else it won't show the graph. Though, maybe 2 years ago when this video was made you didn't need that, I'm not sure, haha. Other than that, this is an awesome tutorial that quite literally takes anyone through the process step-by-step, and even tells you some neat fun facts (like the sns nickname) and explanations like how `loss.backward()` works. TRIPLE BAM indeed! Thanks for the awesome tutorials and videos you put out 👍

  • @statquest

    @statquest

    Ай бұрын

    Thanks! Did you run my code or type it in yourself? I keep the jupyter notebook updated.

  • @MariaHendrikx
    @MariaHendrikx8 ай бұрын

    I love how you you visualize and synchronize the code with the maths behind it :) On top of that you are doing it step-wise which results in a really awesome and very eduSupercalifragilisticexpialidociouscational video! #ThankYou

  • @statquest

    @statquest

    8 ай бұрын

    I love it. Thank you very much! :)

  • @justinhuang8034
    @justinhuang80342 жыл бұрын

    Man the content keeps getting better

  • @statquest

    @statquest

    2 жыл бұрын

    Thank you!

  • @someone5781
    @someone57812 жыл бұрын

    Woo! Been waiting for this sort of a tutorial!!!

  • @statquest

    @statquest

    2 жыл бұрын

    bam!

  • @exxzxxe
    @exxzxxe Жыл бұрын

    Another charming, fully informative masterpiece.

  • @statquest

    @statquest

    Жыл бұрын

    Thank you very much! BAM! :)

  • @aayushjariwala6256
    @aayushjariwala62562 жыл бұрын

    It amazes me, when I see no NLP video on StatQuest! Josh your explanation are always higher than what one can expect and you have created so many series including maths and conceptual understanding. NLP has the same importance compared to computer vision and actually people are suffering to learn it by lack of content availability! I hope you would create a series or maybe a few videos on basic concepts which help people to get interested in NLP : ) Hope you are doing good in life Josh

  • @statquest

    @statquest

    2 жыл бұрын

    I'm working on NLP.

  • @vans4lyf2013

    @vans4lyf2013

    2 жыл бұрын

    @@statquest Yay so glad to hear this, we really need you because no one gives great explanations like you do. Also your youtube comments are the nicest I've ever seen which is a testament to how valued you are in this community.

  • @statquest

    @statquest

    2 жыл бұрын

    @@vans4lyf2013 Thank you very much!

  • @aabshaarahmad7853
    @aabshaarahmad78532 жыл бұрын

    Hi! This is amazing. Are you gonna continue this series? Out of ten different rabbitholes I have been to, this video has been the most helpful for me with understanding PyTorch and starting off with my project. Please continue making more complicated models. Thank you :)

  • @statquest

    @statquest

    2 жыл бұрын

    That's the plan!

  • @AHMAD9087
    @AHMAD90872 жыл бұрын

    The tutorial we all needed 🙂

  • @statquest

    @statquest

    2 жыл бұрын

    Hooray!

  • @Luxcium
    @Luxcium Жыл бұрын

    Wow 😮 I didn't knew I had to watch the *Neural Networks part 2* before I can watch the *The StatQuest Introduction To PyTorch* before I can watch the *Introduction to coding neural networks with PyTorch and Lightning* 🌩️ (it’s something related to the cloud I understand) I am genuinely so happy to learn about that stuff with you Josh❤ I will go watch the other videos first and then I will back propagate to this video...

  • @statquest

    @statquest

    Жыл бұрын

    Warmer...

  • @Sandeepkumar-dm2bp
    @Sandeepkumar-dm2bp2 жыл бұрын

    very well explained, thank you for providing quality content, it's very helpful

  • @statquest

    @statquest

    2 жыл бұрын

    Glad it was helpful!

  • @praptithapaliya6570
    @praptithapaliya6570 Жыл бұрын

    I love you Josh. God bless you. You're my favorite teacher.

  • @statquest

    @statquest

    Жыл бұрын

    Thank you! 😃!

  • @_epe2590
    @_epe25902 жыл бұрын

    finally! some simple to understand content on how to make an AI model using pytourch!!! TRIPLE BAM!!!!

  • @statquest

    @statquest

    2 жыл бұрын

    Hooray!

  • @saralagrawal7449
    @saralagrawal7449Ай бұрын

    Just watched matrix multiplication of Transformers. My mind was blown away. Same things appear so complex but when this guy explains them, it's like peanuts. Triple BAM

  • @statquest

    @statquest

    Ай бұрын

    Bam! :)

  • @yashsurange7648
    @yashsurange7648 Жыл бұрын

    Thanks for this amazing walk through.

  • @statquest

    @statquest

    Жыл бұрын

    Thanks!

  • @darshuetube
    @darshuetube Жыл бұрын

    it's great that you are making videos on coding as well.

  • @statquest

    @statquest

    Жыл бұрын

    Thank you!

  • @jwilliams8210
    @jwilliams8210 Жыл бұрын

    Absolutely brilliant!

  • @statquest

    @statquest

    Жыл бұрын

    Thank you! :)

  • @Luxcium
    @Luxcium4 ай бұрын

    I am someone who loves *SQ,* and *JS* style of teaching in byte 😅 pieces but I also hate _snakes…_ I love *JavaScript* and *TypeScript* but I’ve been learning *JavaScript* with the _strictest linting rules_ one would imagine… and given how *JavaScript* could be used without any sort of strict rules (and is very similar to *Python* in this context) it is frustrating that it makes *Python* very hard to understand despite being easier since it has not the same stricter rules I have imposed myself learning *JavaScript…* but I am also genuinely grateful that *JS* is the best instructor for this kind of topics because *JS* has a _Ukulele,_ *StatSquatch* and *Normalsaurus* which are all there to help *JS* make *SQ* awesome 🎉🎉🎉🎉 Thanks 😅😅😅❤

  • @statquest

    @statquest

    4 ай бұрын

    bam!

  • @anggipermanaharianja6122
    @anggipermanaharianja61222 жыл бұрын

    Awesome vid by the legend!

  • @statquest

    @statquest

    2 жыл бұрын

    Thank you!

  • @bjornnorenjobb
    @bjornnorenjobb2 жыл бұрын

    omg! I have really wanted this! awesome!!! :) :) :)

  • @statquest

    @statquest

    2 жыл бұрын

    Hooray! :)

  • @onkarpandhare
    @onkarpandhare2 жыл бұрын

    great video! very well explained!!!👍👍

  • @statquest

    @statquest

    2 жыл бұрын

    Thank you!

  • @carlitosvh91
    @carlitosvh912 ай бұрын

    Great explanation. Thank you very much

  • @statquest

    @statquest

    2 ай бұрын

    Thanks!

  • @jawadmansoor6064
    @jawadmansoor6064 Жыл бұрын

    Great series.

  • @statquest

    @statquest

    Жыл бұрын

    Thank you!

  • @ISK_VAGR
    @ISK_VAGR2 жыл бұрын

    That is a big leap. I need to check it several times to understand it since I am not a programmer. However, I really got a good feeling of what is happening inside the code. I actually use codeless systems such as KNIME. So if Mr. Sasquatch, get the idea of using KNIME to explain all this, It will be amazing. Thanks to be such a good teacher.

  • @statquest

    @statquest

    2 жыл бұрын

    I'll keep that in mind.

  • @arer90
    @arer902 жыл бұрын

    Thank you for perfect lecture~!!!

  • @statquest

    @statquest

    2 жыл бұрын

    Thank you!

  • @isaacpeng3625
    @isaacpeng36252 жыл бұрын

    great video and explanation! me have been struggling in pytorch coding

  • @statquest

    @statquest

    2 жыл бұрын

    Bam! :)

  • @mohammadalikhani7798
    @mohammadalikhani779810 ай бұрын

    That Was Nice ! Thank You

  • @statquest

    @statquest

    10 ай бұрын

    Glad you liked it!

  • @lloydchan9606
    @lloydchan96062 жыл бұрын

    bless josh and this channel

  • @statquest

    @statquest

    2 жыл бұрын

    Thank you!

  • @neginamirabadi4595
    @neginamirabadi45952 жыл бұрын

    Hello Josh! Thank you so much for your amazing videos! I have learned so much from your tutorials and would not have been able to advance without them! I wanted to ask whether it is possible for you to put some videos on times series analysis, including autoregression (AR), moving average (MA) and their combinations. I would be more than grateful if you can provide such a video. Thank you so much.

  • @statquest

    @statquest

    2 жыл бұрын

    I'll keep those topics in mind!

  • @mohsenmoghimbegloo
    @mohsenmoghimbegloo2 жыл бұрын

    Thank you very much Mr Josh Starmer

  • @statquest

    @statquest

    2 жыл бұрын

    Thanks!

  • @stivraptor
    @stivraptor2 жыл бұрын

    Hey Josh! Guess what just arrived in the mail.... My new statquest mug!!!!! Hooray!!!

  • @statquest

    @statquest

    2 жыл бұрын

    BAM!!! Thank you so much for supporting StatQuest!!!

  • @Hitesh10able
    @Hitesh10able10 ай бұрын

    Another excellent video, one humble request please provide video on Stable Diffusion Models.

  • @statquest

    @statquest

    10 ай бұрын

    I'll keep that in mind.

  • @sceaserjulius9476
    @sceaserjulius94762 жыл бұрын

    I am also learning Deep Learning, and want to apply it to make good projects, This is going to be great.

  • @statquest

    @statquest

    2 жыл бұрын

    bam!

  • @whispers191
    @whispers1912 жыл бұрын

    Thank you Josh!

  • @statquest

    @statquest

    2 жыл бұрын

    Bam!

  • @nicolasreinaldet732
    @nicolasreinaldet7322 жыл бұрын

    Guess who was going to start programing a neural network in python today...... God bless you Josh, becase He know how much you are blessing me with your work. And know that Jesus loves you and want to be part of your life.

  • @statquest

    @statquest

    2 жыл бұрын

    Thanks!

  • @sanjaykrish8719
    @sanjaykrish87192 жыл бұрын

    wow.. super excited

  • @statquest

    @statquest

    2 жыл бұрын

    Hooray!

  • @pfever
    @pfever Жыл бұрын

    Best tutorial like usual! would be nice to see more advanced examples of in pytorch, like CNN for image classification :)

  • @statquest

    @statquest

    Жыл бұрын

    I'm working on them.

  • @theblueplanet3576
    @theblueplanet35765 ай бұрын

    Enjoying this series on machine learning. By the way there is no shame in self promotion, you deserve it 😁

  • @statquest

    @statquest

    5 ай бұрын

    Thanks 😅

  • @AkmKawserOfficial
    @AkmKawserOfficial Жыл бұрын

    Really Awesome

  • @statquest

    @statquest

    Жыл бұрын

    Thanks 🤗

  • @emilyli6763
    @emilyli67632 жыл бұрын

    honestly wish I had this a year ago when I was struggling, still watching now tho!

  • @statquest

    @statquest

    2 жыл бұрын

    Bam! :)

  • @ぶらえんぴん
    @ぶらえんぴん2 жыл бұрын

    Your teaching video is awesome

  • @statquest

    @statquest

    2 жыл бұрын

    Thank you!

  • @ぶらえんぴん

    @ぶらえんぴん

    2 жыл бұрын

    @@statquest Do you have intro to lightning ? I kind of remember you mentioned in the video you seemed to have one?

  • @statquest

    @statquest

    2 жыл бұрын

    @@ぶらえんぴん That's going to be the next video in this series. It will come out in a few weeks.

  • @carol8099
    @carol80992 жыл бұрын

    this video is gold

  • @statquest

    @statquest

    2 жыл бұрын

    Thank you!

  • @junechu9701
    @junechu9701 Жыл бұрын

    Soooooooo thankful!

  • @statquest

    @statquest

    Жыл бұрын

    bam! :)

  • @Irrazzo
    @Irrazzo Жыл бұрын

    Thank you, good explanation! 16:00 Python prefers for-each-loops over index-based loops. See how this equivalent for-each loop looks much simpler. for input, label in zip(inputs, labels): output = model(input) loss = (output - label)**2 loss.backward() total_loss += float(loss)

  • @statquest

    @statquest

    Жыл бұрын

    Great tip!

  • @animegod567
    @animegod5672 жыл бұрын

    Thanks for this

  • @statquest

    @statquest

    2 жыл бұрын

    :)

  • @kobic8
    @kobic8 Жыл бұрын

    great presentation!! thanks again for simplfying this topic! are you planning to post more on NN implementation? computer vision maybe or object detection?

  • @statquest

    @statquest

    Жыл бұрын

    Yes, there will be many more videos on how to implement NNs.

  • @WeeeAffandi
    @WeeeAffandi2 жыл бұрын

    Josh explaining the code is far better than any programmer

  • @statquest

    @statquest

    2 жыл бұрын

    Thank you!

  • @05747100
    @057471002 жыл бұрын

    Thanks a lot, beg for Pytorch Series playlist.

  • @statquest

    @statquest

    2 жыл бұрын

    Soon!

  • @abbddos
    @abbddos2 жыл бұрын

    This was great... I hope you can simplify Tensorflow the same way... big big thank you.

  • @statquest

    @statquest

    2 жыл бұрын

    Thanks!

  • @vladimirbosinceanu5778
    @vladimirbosinceanu57782 жыл бұрын

    omg this is amazing

  • @statquest

    @statquest

    2 жыл бұрын

    bam! :)

  • @HtHt-in7vt
    @HtHt-in7vt2 жыл бұрын

    I would be appreciated if you can teach more an deeper in pytorch. Thank you so much!

  • @statquest

    @statquest

    2 жыл бұрын

    That's the plan. This is just the first of many videos on how to code neural networks. The next video will be on pytorch lightning, and then we'll start to create more advanced models.

  • @user-ej1nj5ry6l
    @user-ej1nj5ry6l2 жыл бұрын

    KOREAN BAMMMM!!! TY StatQuest😁

  • @statquest

    @statquest

    2 жыл бұрын

    Awesome!!! BAM! :)

  • @karrde666666
    @karrde6666662 жыл бұрын

    better than MIT or any university slides

  • @statquest

    @statquest

    2 жыл бұрын

    Thank you!

  • @getingbored
    @getingbored11 ай бұрын

    Thank you :)

  • @statquest

    @statquest

    11 ай бұрын

    You're welcome!

  • @aaronm6675
    @aaronm66752 жыл бұрын

    Finally🔥

  • @statquest

    @statquest

    2 жыл бұрын

    :)

  • @petercourt
    @petercourt2 жыл бұрын

    Amazing work Josh!

  • @statquest

    @statquest

    2 жыл бұрын

    Thank you!

  • @peterkanini867
    @peterkanini867 Жыл бұрын

    Please make an entire tutorial about the ins and outs of PyTorch!

  • @statquest

    @statquest

    Жыл бұрын

    I've made several PyTorch videos and will continue to make more. You can find the others here: statquest.org/video-index/

  • @minglee5164
    @minglee51642 жыл бұрын

    Wonderful

  • @statquest

    @statquest

    2 жыл бұрын

    Thank you!

  • @arijitchaki1884
    @arijitchaki18845 ай бұрын

    Hi Josh, sorry to be a spoil sport, but I used exact same code and my prediction is showing 0.5 for dosage of 0.5 and it is running for all 100 epoch and final b value comes out to be -16.51 😔. But yes the concept is clear!! Great work! I always ask people whoever are interested in learning about data science or machine learning to refer you channel. Seeing your channel grow from 10-20K to a Mn is pleasure to my eyes!! You are the "El Professor"!!

  • @statquest

    @statquest

    5 ай бұрын

    Thank you very much! If you look at my actual code (follow the link), you'll see that I actually pulled a trick with the data to get it to train faster.

  • @jianzhen3
    @jianzhen3 Жыл бұрын

    thank you so much to explained it so clearly, if I didn't click the sumb up button, that will be my guilty

  • @statquest

    @statquest

    Жыл бұрын

    Thank you! :)

  • @vighneshsrinivasabalaji802
    @vighneshsrinivasabalaji8028 ай бұрын

    Hey Josh! Amazing videos, thanks a lot. Would be great if you could cover Time Series Data and algorithms like ARIMA and HOLTS WINTER Thanks😊

  • @statquest

    @statquest

    8 ай бұрын

    I'll keep those topics in mind.

  • @conlele350
    @conlele3502 жыл бұрын

    Thanks Josh, its Incredible video. Beside, recently the Bayes theorem application in fitting model (linear, logistic, random forest...) has became more and more popular in order to replace classic statistic method, could you pls take some time to explain to us some of its popular algorithm like BART, Linear regression via Bayesian Methods...

  • @statquest

    @statquest

    2 жыл бұрын

    I'm planning on doing a whole series on Bayesian stuff as soon as I finish this series on neural networks.

  • @conlele350

    @conlele350

    2 жыл бұрын

    @@statquest that's great news for today, thanks Josh, Im looking forward to see it soon

  • @DS-nr9zc
    @DS-nr9zc2 жыл бұрын

    bro i love you

  • @statquest

    @statquest

    2 жыл бұрын

    :)

  • @ShawnShi-hy9ed
    @ShawnShi-hy9edАй бұрын

    Hi Josh, thanks for your video. I am confused why it doesn't work when I am trying to optimize any other weights and bias. five minutes later, I think I have got the answer from the comments and your reply. Thanks again!

  • @statquest

    @statquest

    Ай бұрын

    bam

  • @joshstat8114
    @joshstat81145 ай бұрын

    Nice video for the introduction of LSTM using PyTorch. There is also `torch` R package that doesn't need to install python and torch. It's so nice that R also has deep learning framework aside from `tensorflow` and I recommend you to maybe try it.

  • @statquest

    @statquest

    5 ай бұрын

    Thanks for the info!

  • @joshstat8114

    @joshstat8114

    5 ай бұрын

    @@statquest i strongly recommend it because it is so nice that R has own deep learning frameworks, besides h2o

  • @EmilyBoInvests
    @EmilyBoInvests2 жыл бұрын

    Awesome video! Thanks, Josh! Can you please explain what super() does in the _init_()?

  • @statquest

    @statquest

    2 жыл бұрын

    Great question! So, we're making a new class that is derived from nn.Module, and nn.Module, is derived from something else, and all those things need to be initialized, so "super()" does that for us.

  • @guramikeretchashvili1569
    @guramikeretchashvili15692 жыл бұрын

    So interesting videos and good explanations. I am wondering which software you use to make these cool visualizations?

  • @statquest

    @statquest

    2 жыл бұрын

    I share all my secrets here: kzread.info/dash/bejne/laaAuqyAXainmM4.html

  • @aiforeveryone2941
    @aiforeveryone29412 жыл бұрын

    Double bam new way to teach coding

  • @statquest

    @statquest

    2 жыл бұрын

    yes! :)

  • @andreblanco
    @andreblanco2 жыл бұрын

    Triple bam!

  • @statquest

    @statquest

    2 жыл бұрын

    BAM! Thank you very much for supporting StatQuest!!!!

  • @yanwenli3760
    @yanwenli37602 жыл бұрын

    look at what I found! It is useful and interesting!

  • @statquest

    @statquest

    2 жыл бұрын

    bam!

  • @Luxcium
    @Luxcium4 ай бұрын

    So I paused at 18:04 because _it blew my mind_ that we were calling backwards() on the loss variable because I thought it was defined on the line above… 😅😅😅😅 but yeah I didn’t find anything so one hour later I was just watching the rest of the video and _to be honest_ in about 33 seconds it came out that it was normal for _my mind to be blown_ 😂😂😂😂 at 18:37

  • @statquest

    @statquest

    4 ай бұрын

    Totally! I was like, "what?!?!?" when I first saw that.

  • @arshadkazi4559
    @arshadkazi45592 жыл бұрын

    Tensorflow developer is turning into PyTorch… bam! 💥

  • @statquest

    @statquest

    2 жыл бұрын

    bam! :)

  • @Mahii_si_raj
    @Mahii_si_raj2 жыл бұрын

    Sir, Please make videos on the time-series analysis, it's hard to find the videos with clear explaination.

  • @statquest

    @statquest

    2 жыл бұрын

    I'll keep that in mind.