Restricted Boltzmann Machines (RBM) - A friendly introduction

แชร์
ฝัง
  • เผยแพร่เมื่อ 27 พ.ค. 2024
  • CORRECTION: The score for BE is 6 and for BD is -1.
    A simple introduction to Restricted Boltzmann Machines (RBM) and their training process, using a real-life example with people and pets.
    Grokking Machine Learning Book: www.manning.com/books/grokkin...
    40% discount promo code: serranoyt
    Images downloaded from www.freepik.com
    www.freepik.com/free-photos-v...
    www.freepik.com/free-photos-v...
    www.freepik.com/free-photos-v...
    www.freepik.com/free-photos-v...
    Introduction: (0:00)
    Mystery: (0:17)
    Scores: (4:39)
    Probabilities: (7:30)
    Training (11:09)
    Contrastive Divergence: (13:37)
    Small Problem: (15:33)
    Gibbs Sampling: (16:33)
    Updating Weights: (20:56)
    Sampling Problems: (22:58)
    Independent Sampling: (24:27)
    Picking Random Samples with Conditions: (28:30)
    Picking Completely Random Samples: (31:05)
    Summary: (35:03)
    Conclusion: (35:57)
  • วิทยาศาสตร์และเทคโนโลยี

ความคิดเห็น • 117

  • @AdityaSingh-kp9tj
    @AdityaSingh-kp9tj 3 ปีที่แล้ว +46

    Learning with examples first is always better than starting with math, Now when I read the math behind RBM it makes more sense since I have something to relate too!
    Thank you for this wonderful presentation :)

    • @zhengquanni726
      @zhengquanni726 11 หลายเดือนก่อน

      Exactly, you are right

  • @chaitralisamant3690
    @chaitralisamant3690 3 ปีที่แล้ว +25

    this is the only ML tutorial i’ve seen that makes everything so clear. cannot emphasize the importance of this as a beginner, thank you so much!!

  • @souravverma6771
    @souravverma6771 3 ปีที่แล้ว +18

    This is the best tutorial that I came across from introduction to RBM. Looking forward to more such AI tutorials from you.

  • @user-jw1ic9tc4g
    @user-jw1ic9tc4g 3 หลายเดือนก่อน +4

    I just have some doubt about some possible scenarios that you explained at the beginning of the video. For example, in your explanations, you explained that the score for the scenario BD is equal to -1. But, then in the table, we see that the score for this scenario is not -1, instead, it is -2. And this inconsistency happens for some other scenarios as well. Thank you very much for your clear explanations.

  • @jonashetterich5375
    @jonashetterich5375 2 ปีที่แล้ว +2

    Chapeau to how much effort you put into this tutorial. ML-Grads like me are dependent on such videos. Love from Germany!

  • @ajit_edu
    @ajit_edu ปีที่แล้ว +1

    Your tutorials are addictive. So clearly explained, that you think of making use of it in real world !!

  • @hotlunch3632
    @hotlunch3632 3 ปีที่แล้ว +4

    This video is a game-changer, I had no idea how RBM's worked before. Thanks!

  • @HoustonPL
    @HoustonPL 3 ปีที่แล้ว +6

    I love your videos and methods of teaching relatively difficult stuff in easy way. Keep up the great job!

  • @danfiel
    @danfiel 3 ปีที่แล้ว +2

    Great Work! You're video is the first one I've watched to properly explain RBM to people who dont really know much about math.

  • @blesucation4417
    @blesucation4417 6 หลายเดือนก่อน +1

    Just want to leave a comment so that more people could learn from your amazing videos! Many thanks for the wonderful and fun creation!!!

  • @andrewlane7233
    @andrewlane7233 3 ปีที่แล้ว

    you explain concepts so eloquently -- thank you for these explanations

  • @PradeepMahato007
    @PradeepMahato007 3 ปีที่แล้ว

    Explanation with visual representation, the best tutorial I have ever seen. RBM is very well explained !!

  • @vijtad
    @vijtad 3 ปีที่แล้ว

    Explained very well with practical example. Now I understand how Gibbs sampling is used in RBM. Thank you very much.

  • @ribbydibby1933
    @ribbydibby1933 2 ปีที่แล้ว +2

    This clip clarified a lot about RBMs for me. Perfect combination of simple examples and the math behind it which makes it easy to understand. I don't get why literature on this or similar topics aimed to teach has to only focus on the math part/formulas which is much more time consuming to understand and in the end doesn't provide as good intuition as your approach of teaching a subject. Thanks for the video!

  • @kennys1881
    @kennys1881 3 ปีที่แล้ว +1

    Nice. Topic I like most (in ai) posted on my birthday. I have been following you for a some months, good content, keep up the good work!

  • @zcjsword
    @zcjsword 3 ปีที่แล้ว

    I read RBM's wikipedia page twice but was still confused. The video clarifies everything. Thanks!

  • @grantwiersum7394
    @grantwiersum7394 ปีที่แล้ว +1

    Whoa....I was warned these were super hard to understand but that was so well explained. You are amazing

  • @joanna50122
    @joanna50122 2 หลายเดือนก่อน

    Amazing with the mathematical meaning behind it. Thank you so much❤

  • @user-yu7ie2em5b
    @user-yu7ie2em5b 2 หลายเดือนก่อน

    wow this was one of the best tutorials i've seen about RBM

  • @ukab253az
    @ukab253az 3 ปีที่แล้ว

    high quality teaching... way such a complex math was expalined is amazing...

  • @dt28469
    @dt28469 2 ปีที่แล้ว

    First experience researching RBMs. I can say, my mind is throughly blown 🤯

  • @atineshs
    @atineshs 3 ปีที่แล้ว

    Thanks for this beautiful presentation on RBM now it will be easy to digest the paper 🙏

  • @eeshstarryn9217
    @eeshstarryn9217 3 ปีที่แล้ว +1

    GREAYYYYTTTT!!!! WORK WOW dude this is the best explanation i have come across

  • @suasyyi3588
    @suasyyi3588 2 ปีที่แล้ว +1

    Thank you so much for this video, it was very easy to understand!

  • @sahilsangam3846
    @sahilsangam3846 2 ปีที่แล้ว

    I am just amazed by seeing this tutorial

  • @EduAidClassroom
    @EduAidClassroom 2 ปีที่แล้ว

    Thanks a lot for this video. The example is great to follow!

  • @m.vonsteinkirch3363
    @m.vonsteinkirch3363 3 ปีที่แล้ว

    This is such a good explanation, and so creative! Thank you!

  • @omarmohy3975
    @omarmohy3975 2 ปีที่แล้ว

    This is a suberb explanation, thank u so much. Please keep the videos coming

  • @ravipativenkatesh6810
    @ravipativenkatesh6810 วันที่ผ่านมา

    enjoyed learning RBM (excellent work)

  • @ja100o
    @ja100o ปีที่แล้ว +1

    Please never stop making these videos!

    • @SerranoAcademy
      @SerranoAcademy  ปีที่แล้ว

      Thank you so much for your kind contribution!! Definitely, I’ll continue making videos, if you have suggestions for topics, please let me know. Cheers!

  • @cheunghauyee1335
    @cheunghauyee1335 3 ปีที่แล้ว +2

    thank you for saving my life

  • @DarkNinja-24
    @DarkNinja-24 3 ปีที่แล้ว +1

    Wow, this is really intuitive, thanks you!

  • @aashwinsharma1859
    @aashwinsharma1859 2 ปีที่แล้ว

    Thank you for the wonderful explanation...

  • @maryamrahat3568
    @maryamrahat3568 3 ปีที่แล้ว

    the best tutorial on this topic.

  • @user-rb4kb3np9f
    @user-rb4kb3np9f 3 ปีที่แล้ว +1

    Thank you for your video! It is really helpful:)

  • @ABHISHEKshrivastava_placebo
    @ABHISHEKshrivastava_placebo 3 ปีที่แล้ว

    Nice video, very easy to follow through

  • @Simon-ed6zc
    @Simon-ed6zc 2 ปีที่แล้ว

    Hi and thanks a lot for this video! It is an excellent source to get into RBMs. I have a question regarding the energy function, though. I always see this particualr form of the energy and never a derivation or an argument for it. Is it the only possible form? Or can one come up with any sort of functions, as long as the sum over all possible configurations doesn't lead to zero ( so that we can still divide by the partition function )?

  • @tianle465
    @tianle465 25 วันที่ผ่านมา

    Thank you for your great video, but how did the correlation between D and AC, E and B, come about? Why does this specific correlation form?

  • @duduin96
    @duduin96 3 ปีที่แล้ว

    Excellent explanation, thank you a lot

  • @Opsse
    @Opsse 3 ปีที่แล้ว

    Thank you for the clear explanation, the only thing that could be better is the sound quality ;)

  • @chunchen3450
    @chunchen3450 3 ปีที่แล้ว

    Thanks for the video. Wondering what's the difference with hidden Markov model

  • @ching-chenghsu1423
    @ching-chenghsu1423 3 ปีที่แล้ว

    Great explanation.. 2^300 :-), that's why we need quantum computing. QC will solve SAT kind of problem in a beautiful way.

  • @jersey1634
    @jersey1634 3 ปีที่แล้ว

    Very informative, thank you!

  • @jonathankore9009
    @jonathankore9009 3 ปีที่แล้ว

    Very well explained, thanks :)

  • @kavindaravishan7351
    @kavindaravishan7351 3 ปีที่แล้ว

    Wow, thank you.. really good explanation..

  • @tianqilong8366
    @tianqilong8366 4 วันที่ผ่านมา

    HAHAHA, coming in here from the video about Generative Adversarial Network and realize need to understand this concept in order to understand GAN, the recc Algo really guessed my thoughts right...

  • @amiryo8936
    @amiryo8936 4 หลายเดือนก่อน

    crazily good man, congrats!

  • @onestepaheadintheworldofin5426
    @onestepaheadintheworldofin5426 3 ปีที่แล้ว

    great content. I am trying to write review paper on Restricted Boltzmann machine for Chemometrics.

  • @simsim2159
    @simsim2159 2 ปีที่แล้ว

    Thank you, sir this really helped me

  • @pycgo
    @pycgo 3 ปีที่แล้ว +1

    Great video! A question: when you pick a sample to increase scores, you increase all the nodes (and edges) that consist this sample. However this not only increase the probability with this particular sample but also other combinations. This seems contradict to the Gibbs sampling method. Is there something I misunderstood, or this is correct but we just tolerate this side effect as it still does the job?

    • @SerranoAcademy
      @SerranoAcademy  3 ปีที่แล้ว

      Great question! You understood it correctly. As you improve the scores for a sample, it may affect the scores for other samples (this problem happens in most other ML algorithms too). The hope is that if you do this for all the samples, it starts capturing the form of the data.

    • @Ricardo-pz4zq
      @Ricardo-pz4zq 2 ปีที่แล้ว +1

      Sorry, but I still didn't get this point. In your particular example, you only can see the visible layer. So, when Beto shows up, you'll end up increasing BD OR BE, cause you don't see the hidden layer (cat or dog). Besides, when other samples comes (Alisha with Cameron) it doesn't give you any compensation that increase BE and decrease BD. So, in the end, you should increase all combination related to samples (and not only those truly related with visible and hidden layers). But this is a toy example. Maybe, in real data, this relations are more complex and then such compensation truly happen. Or maybe I'm still misunderstanding something.

  • @yohannistelila8879
    @yohannistelila8879 3 ปีที่แล้ว

    I know its gonna be great. Thats why I hit the like button before I even watch.

  • @SteveAndresen
    @SteveAndresen ปีที่แล้ว

    Very good video but I got struck at 14:48. Why ACE grows faster than ACD while these cases are all active at the same time?

  • @MrFredazo
    @MrFredazo 3 ปีที่แล้ว

    This is MASSIVELY GOOD

  • @GauravSharma-ui4yd
    @GauravSharma-ui4yd 3 ปีที่แล้ว +2

    Awesome explanation as always, next deep belief network??

  • @AmanKumar-oq8sm
    @AmanKumar-oq8sm 3 ปีที่แล้ว

    Awesome explanation

  • @anverHisham
    @anverHisham 3 ปีที่แล้ว

    Great video. Thanks a lot.😀

  • @sandyz1000
    @sandyz1000 3 ปีที่แล้ว

    Awesome explaining. The naming of those animals is funny though.

  • @Karankaran-mx3lb
    @Karankaran-mx3lb 3 หลายเดือนก่อน

    Nice explaination!

  • @xlma3886
    @xlma3886 3 ปีที่แล้ว

    Thank you. Very useful

  • @markvyber2458
    @markvyber2458 ปีที่แล้ว

    Imagine paying thousands to university to teach me RBM and then finding a TH-cam video that explains it 100 times better then the professor in half the time. Couldn't be me

  • @jamesguan5225
    @jamesguan5225 3 ปีที่แล้ว

    Excellent explanation!!

  • @marcogarcia6811
    @marcogarcia6811 3 ปีที่แล้ว

    Amazing video!

  • @777bloomingdale
    @777bloomingdale 3 ปีที่แล้ว

    Great explanation. What exactly meant by Energy in RBM? How do you define Energy in Layman's way?

    • @SerranoAcademy
      @SerranoAcademy  3 ปีที่แล้ว

      Great question! I don't know this part very well, but if the particles have spins that align or not align, there are different energies. Look for Ising Model, and that describes it better.

  • @kanakambaran
    @kanakambaran 3 ปีที่แล้ว +4

    how did score of BE become 7? it should be 1+4+1=6 right? But then it becomes as likely as ABCDE.

    • @SerranoAcademy
      @SerranoAcademy  3 ปีที่แล้ว +1

      Yes you're right, it's 6. Thank you!

  • @gaussian3750
    @gaussian3750 3 ปีที่แล้ว +1

    Thanks a lot.

  • @crazystar4722
    @crazystar4722 10 วันที่ผ่านมา

    Superb Content 😊😊😊😊

  • @vijayd15
    @vijayd15 3 ปีที่แล้ว +6

    Hi Luis - seems there are some errors like BD should be -1 and DE should be 6 - can you clarify? but good video overall!

    • @taiwanSmart
      @taiwanSmart 3 ปีที่แล้ว

      Yes, i have same thought

    • @SerranoAcademy
      @SerranoAcademy  3 ปีที่แล้ว

      Yes you're right, they're -1 and 6. Thank you!

  • @lalitsingh9300
    @lalitsingh9300 3 ปีที่แล้ว

    Hi Luis, please suggest any book for quantum computing or any youtube channel for software engineer

    • @SerranoAcademy
      @SerranoAcademy  2 ปีที่แล้ว

      Hi Lalit! sorry for the super late reply. Here is my favorite quantum computing course: th-cam.com/video/VPsl_5RQe1A/w-d-xo.html
      And this one for quantum machine learning: th-cam.com/video/QtWCmO_KIlg/w-d-xo.html
      Enjoy!

    • @lalitsingh9300
      @lalitsingh9300 2 ปีที่แล้ว

      @@SerranoAcademy Thanks :)

  • @aayushneupane4406
    @aayushneupane4406 2 ปีที่แล้ว

    what are a_i and b_i in the equation 7:13?

  • @zesvyaayvesez2849
    @zesvyaayvesez2849 8 หลายเดือนก่อน

    Thank you for this! The only problem is I don't know how you can get Descartes and Euler showing up at the same time if you use your sampling algorithm

    • @SerranoAcademy
      @SerranoAcademy  4 หลายเดือนก่อน

      Thanks, great question! The probability of that would be really low, since the weight for any of those configurations with Descartes and Euler would have a very low weight (as some negative weights are forced to appear). But if you run it many times, you may run into that configuration.

  • @IK-ow2zk
    @IK-ow2zk ปีที่แล้ว

    Thanks a lot!

  • @youngjin8300
    @youngjin8300 3 ปีที่แล้ว

    This is great 👍

  • @sayandey1478
    @sayandey1478 3 ปีที่แล้ว

    I have one question, is the sampling random or biased towards the points with higher probabilities so far

    • @SerranoAcademy
      @SerranoAcademy  3 ปีที่แล้ว +1

      Great question! The sampling is biased towards the combinations of points that have higher scores.

    • @sayandey1478
      @sayandey1478 3 ปีที่แล้ว

      Great thanks for clarification
      I guessed it tbh

  • @chenqu773
    @chenqu773 3 ปีที่แล้ว +1

    Yhank you again Luis. One dubbio: shouldn't the score of BE be 1+4+1=6 instead of 7 ?

    • @SerranoAcademy
      @SerranoAcademy  3 ปีที่แล้ว

      Yes you're right, it's 6. Thank you!

  • @memelol1859
    @memelol1859 ปีที่แล้ว

    Sir ur a legend

  • @safas.abdul-jabbar4678
    @safas.abdul-jabbar4678 3 ปีที่แล้ว

    Thanks a lot

  • @sayandey1478
    @sayandey1478 3 ปีที่แล้ว

    Best one, salute

  • @chakrapani_nallam
    @chakrapani_nallam 3 ปีที่แล้ว

    Always Luis is the best!

  • @sanyamjaincs1
    @sanyamjaincs1 3 ปีที่แล้ว +1

    should not Beto and Euler case should have score:6 ? @ 6:19
    BTW best tutorial on RBMs

    • @SerranoAcademy
      @SerranoAcademy  3 ปีที่แล้ว +1

      Yes you're right, it's 6. Thank you!

  • @anishazaveri9658
    @anishazaveri9658 ปีที่แล้ว

    Thanks!

  • @user-qx4sc5ku2w
    @user-qx4sc5ku2w 3 ปีที่แล้ว

    Nice video, should get more exposure!

  • @ocamlmail
    @ocamlmail 3 ปีที่แล้ว +3

    Hi. Shouldn't BE equals 6=4+1+1 ?

    • @SerranoAcademy
      @SerranoAcademy  3 ปีที่แล้ว

      Yes you're right, it's 6. Thank you!

  • @vaiebhavpatil2340
    @vaiebhavpatil2340 ปีที่แล้ว

    great great video

  • @patite3103
    @patite3103 3 ปีที่แล้ว

    Very good video! The sound quality should be improved! the dog and cat belongs to the hidden layer! The persons mentioned have no knowledge of which pet is in the house. It is not clear to me what is the input and output of this neuronal net.

  • @manishbolbanda9872
    @manishbolbanda9872 3 ปีที่แล้ว

    Very well explained.the example you drew for input nodes and hidden nodes is just damn cool 😁

  • @mariogalindoq
    @mariogalindoq ปีที่แล้ว

    Nice video, but there are a little mistake, the score of BE is 6 not 7.

  • @BaoNguyen-de5du
    @BaoNguyen-de5du 2 ปีที่แล้ว

    Can you give me your slides please?
    I will be very grateful for that

  • @macknightxu2199
    @macknightxu2199 3 ปีที่แล้ว

    is RBM a kind of Generative machine?

  • @Spencer-su3ib
    @Spencer-su3ib 2 ปีที่แล้ว

    30:26 Shouldn´t the sum of probabilities be equal to 1? 0.73+0.31=1.04!=1

  • @guillermolasso992
    @guillermolasso992 3 ปีที่แล้ว

    Estipenda forma de aprender matematicas.

  • @user-op2gu4bp8n
    @user-op2gu4bp8n ปีที่แล้ว

    👏👏👏👏👏👏👏👍👍👍👍👍

  • @triularity
    @triularity 2 ปีที่แล้ว

    Not knowing the animals exist, then Occam's razor applies: Aisha and Cameron are having an affair. Since on of them is married, they lie about knowing each other. =)

  • @mominshaikh4084
    @mominshaikh4084 ปีที่แล้ว

    Never seen any video better then this🦾🤯

  • @chenqu773
    @chenqu773 3 ปีที่แล้ว

    Yhank you again Luis. One dubbio: shouldn't the score of BE be 1+4+1=6 instead of 7 ?

    • @SerranoAcademy
      @SerranoAcademy  3 ปีที่แล้ว

      Yes you're right, it's 6. Thank you!