Random Forest Algorithm Clearly Explained!

แชร์
ฝัง
  • เผยแพร่เมื่อ 30 ม.ค. 2025

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

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

    Easily the best video on Random Forests I've seen

  • @sidchatt
    @sidchatt 11 หลายเดือนก่อน +35

    Not only a very well-explained video, but aesthetically superb too; the diagrams, the music when the trees are being created - brilliant video! Well done!

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

    Hey, I really like the fact that you tend to justify why certain concepts are used the way they are! Hoping to see more fundamental machine learning concepts covered in the future!

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

      That's exactly my goal!

    • @red-bluelife
      @red-bluelife ปีที่แล้ว +1

      Exactly!

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

      I totally agree really helpful, thank you for the nice videos

  • @smitm.1342
    @smitm.1342 ปีที่แล้ว +14

    Unbelievable clarity and simplicity. Hallmark of someone who has truly understood in depth and genuinely wishes to share😊

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

    As someone who makes videos on machine learning, I'll say this is an excellent explanation. I like how the algorithm is explained verbally with a visual example. Also, you explain the motivation for the choices of algorithm as you come across them. Variance reduction is key! Very nice - keep it up!

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

      Thanks mate! 😄
      I just watched your distribution video and enjoyed it a lot...great work!

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

      @@NormalizedNerd Thank you! Much appreciated :)

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

      variance can be reduced by increasing the no of estimators or trees and by decreasing the no of row sample and column samples for each tree

  • @ericametta6964
    @ericametta6964 ปีที่แล้ว +5

    Just came across your channel and i must say you deserve a lot of accolades for how much effort you put into visualizing these concepts and explaining the motivation behind everything so well. Good job really. Not many like you out here

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

    I've done a few machine learning courses on TH-cam and LinkedIn and none of them give a good explanation for bagging and I struggled with why and how you would logically aggregate over many models with different parameters
    and the feasibility of the application of such models.
    After watching this, I see a clearer picture.
    Thank you
    I've been normalized
    ;)

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

    Love your animations, they make it so easy to understand. Best that I have seen so far!

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

    Well done! I've been reading/watching tutorials on this subject ad nauseam for the past week and yours was the first to clearly explain it. Will definitely be watching more of your videos.

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

    I had no idea about what is random forrest before watching it. This 8 minuts talk helped me alot! Thank you!

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

    This is amazing... I spent a lot of time searching for the right channel to understand machine learning, still there were complexities understanding, but this is simple and well explained... Thanks and keep posting videos!!

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

    This channel is so Underrated!!! This guy is explaining in the simplest way!!!

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

    Awesome video! You explained the concept so much better than many university lectures. I would just like to make a quick point about the random feature selection step when bootstrapping.
    (imho) According to most recent/popular papers on random forest algorithms, the most common and efficient approach appears to randomly select feature subsets at each node when traversing each tree rather than selecting it only once at the tree level.
    One explanation I found online is that "while sampling features at every node still allows the trees to see most variables (in different orders) and learn complex interactions, using a subsample for every tree greatly limits the amount of information that a single tree can learn. This means that trees grown in this fashion are going to be less deep, and with much higher bias, in particular for complex datasets. On the other hand, it is true that trees built this way will tend to be less correlated to each other, as they are often built on completely different subsets of features, but in most scenarios, this will not outweigh the increase in bias, therefore, giving a worse performance on most use cases."
    I really hope this was clear. Any comments are very welcome!

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

    I am sending you much appreciation, talented stranger! You earned my like and subscription. I am currently getting into programming / GIS and I am very happy to have stumbled across your channel!

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

    Man you're really good at explaining things simply and visually love your work

  • @MadeleineParnot
    @MadeleineParnot 9 หลายเดือนก่อน

    Genuinely the most clear video I've yet to see on Random Forest, I can't believe I finally understand !!

  • @bored-n-eepy
    @bored-n-eepy 2 ปีที่แล้ว +3

    This was wonderful . Very short, to-the-point and covers all the necessary concepts. I think i have a clear understanding now.

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

    Thank you - that was a really clear explanation! 8 minutes and you made me understand the basics of Random Forest. Crazy.

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

    I was struggling with this concept, but your video was so informative and clearly explained the idea behind it. Instantly subscribed to your channel. Thank you for sharing your great work.

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

    Favorite Random forest video yet!! Thank you Normalized Nerd!!

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

    I like how you Connect ML terminology with Concepts,
    Underated Channel

  • @Enthusiastic-35
    @Enthusiastic-35 2 ปีที่แล้ว +2

    Hey, your explanation about the maths behind the algorithms with pretty visualisation is awesome. Please upload more videos for other Algorithms, So that begginers like me can enjoy the learning.

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

    One of the best video that I've come across that explains random forest so easily. 👏

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

    OMG.....Really thank u for this ..... i literally haven't seen such an amazing Explanation on Random Forest.... it really helped me to get a perfectly clear picture about this Algo....

  • @yhoff76
    @yhoff76 10 หลายเดือนก่อน

    Sir, your videos are phenomenal. Extremely thorough and very informative. I wish you all the best in your future endeavors!

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

    Thanks so much! This is so helpful! I’m considering employing RF for diagnosis classification in neuro-imaging, and this video made me understand that RF may be the right fit for my task!

  • @dr-x-robotnik
    @dr-x-robotnik 3 ปีที่แล้ว +14

    Hi, I accidentally found your TH-cam channel and then noticed it is very informative and helpful! Thank you so much for the high-quality content. Please we are looking for more ML algorithms from scratch specially the ensemble algorithms, we will be so grateful if you make videos on those, too!

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

      Great to hear that. I'm planning to make more such videos.

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

      @@NormalizedNerd But you haven't🥲

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

    This is a really cool overview of the random forest. Definitely helped me revise what I had read on the algorithm... thanks a lot!

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

    Dude I have to say that your videos are really of the best I have watched!! Thank you so much for making those!!

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

    You are amazing.Literally whenever I search for a ml algorithm on youtube your channel pops-up.Thank you for your content🤗

  • @softwareengineer8923
    @softwareengineer8923 7 หลายเดือนก่อน

    Perfectly lucid explanation, keep the high quality content up

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

    I have watched several wideos and read a bunch of articles but I still don't know how a radom forest works until I found your video. Thank you!

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

    This should be on the top of search results for what is a "Random Forest".... great job, well explained.

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

    Thank you very much! You are a talented pedagogue, and your videos are easy to follow and satisfyingly informative.

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

    You have made me understand a topic in 6 minutes which my Dr. at uni couldnt in a whole semester. Thank you.

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

    Dude this video and the video on decision trees have better content than a full semester on my master's degree. Very very good and clear explanation 👏 👌!!

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

      Thanks man! I know sometimes the courses fail to cover all the details because they have to fit so many things into one semester!

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

      @@NormalizedNerd i dont think syllabus is the reason why would they spent 4 - 5 hrs on random forest then.
      Its about the technique. However in class teacher cannot focus on every student and also people who search on internet are all dedicated to learn unlike to that of class which is sort of compulsory and you do not get the time of your choice also

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

    These videos are the best machine learning explanations I've come across anywhere so far, thanks heaps !

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

    best best best explanation !! And the visuals take the explanations to another level !

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

    Very helpful video! I have no idea of Machine Learning algorithms but am required to write a term paper on it and your videos help a lot!

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

    Great job bro, your channel is under-rated.

  • @et_smithy
    @et_smithy 5 หลายเดือนก่อน

    Amazing explanations as well as quality graphics, as always!!

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

    I know I'm three years too late - but this is a fantastic video and is easily the best explanation I've seen so far

  • @harshal.rathore
    @harshal.rathore 2 ปีที่แล้ว +6

    I think there is a little bit of miss information(as I've watched some other videos like statquest and read some articles) we do not use the same randomly selected subset of features through out the tree from root node to last decision node but we randomly select a subset of features at each decision node to decrease the correlation between the decision trees and make them more robust.

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

      Yes! Exactly. I was confused about the same and this video just fueled my confusion.

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

      Yes this is entirely correct. I got confused by the same thing.

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

    Hey, Really superb videos with a clear explanation & the graphical represntation will help to understand easily, Thanks for the videos and expecting more in future.

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

    Nice and clear explanation with animation and reasoning. keep it up!

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

    I love your explanations, you are the best to teach these complex concepts

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

    Excellent use of Manim (by 3 blue one brown). Thanks for the great explanation!

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

    Best video on random forest. Very well explained. Thanks!!!

  • @madhurikatkar-bharmal2679
    @madhurikatkar-bharmal2679 11 วันที่ผ่านมา

    Simply great.. lots of doubts resolved in 1 shot.. Thanks :)

  • @XX-kg2dr
    @XX-kg2dr 3 ปีที่แล้ว +4

    this is a really good quick summary of how random forest work. A quick question- during boostrapping, why we do random sampling with replacement, rather than random sampling without replacement? is there any research conducted to demonstrate one is better than the other?

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

      if your bootstrap generated datasets are the same size as the input, then every sample by selecting without replacement would just be a permutation of the original data. with replacement, the proportion of unique entries tends to 1-1/e.

  • @DEVANSHGOEL-dq1wh
    @DEVANSHGOEL-dq1wh 2 ปีที่แล้ว

    I am thankful to you for providing such high quality content. Bro, by mistake you have written x2 and x1 two times in last two trees.

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

    Awesome job at explaining the algorithm clearly, very helpfull. Thanks a lot !

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

    I liked your mind. You ask philosophical questions and explain those. This is very good learning and teaching method.

  • @mahaalabduljalil6596
    @mahaalabduljalil6596 5 หลายเดือนก่อน

    AmaaaaaaaaaZing! I'm learning and enjoying your story telling :)

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

    Amazing video! I learned a lot on how this works. Will you or do you have videos that talk about what kind of real application scenarios are the best to use the random forests model and why.

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

    This is really well-detailed explanation! Thank you very much for explaining mathematical part so easily.

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

    Thank you for the video. The best explanation I’ve seen so far

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

    Really, a nice video, piano music while creating the trees, really nice, congrats for your dedication, thanks for sharing your knowledge

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

    It so soothing bro the piono in the background and keep it up bro we really like your videos amazing

  • @mincheng6194
    @mincheng6194 7 หลายเดือนก่อน

    This explaination is crystal clear! Thanks best I have ever seen

  • @walterkelt4475
    @walterkelt4475 3 หลายเดือนก่อน

    Tremendous video !!! Simple example got the major points across. Thanks

  • @Enthusiastic-35
    @Enthusiastic-35 2 ปีที่แล้ว

    This is one of the best Machine Learning Channel. Why you people not update about new videos?

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

    Concise and precise, thank you very much! Here, you have a new suscriber

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

    Great video. But according to some sources, features are are sampled randomly at each node level, not at each tree level. For the first tree, we wouldn't select x0 and x1 for the whole tree, but only for the first node. Then for the second split we would randomly select two features, maybe x0 and x1 but maybe x3 and x2. Is this a variant of the RF algorithm or was my understanding wrong? Do you happen to have a source of the original algorithm? Nevertheless great video and impressive amount of work put into it!

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

      Thanks a lot...and great question!
      Firstly, your understanding is correct. Selecting a random subset of features at each node is more popular nowadays. But in the video, I followed Tin Kam Ho's 1998 paper 'The Random Subspace Method for Constructing Decision Forests' where he used a random subset of features for each tree. ("My method relies on an autonomous, pseudorandom procedure to select a small number of dimensions from a given feature space. In each pass, such a selection is made and a subspace is fixed where all points have a constant value (say, zero) in the unselected dimensions. All samples are projected to this subspace, and a decision tree is constructed using the projected training samples.")
      The reason I did this is to reduce the complexity of the explanation :)

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

      @@NormalizedNerd thanks so much for the reply. I used to see both variants in various esplanations now it makes sense to me! Keep up the good work I am a huge fan of your videos :-)

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

      @@bajdoub Keep supporting ❤️😌

  • @ziyuan2368
    @ziyuan2368 7 หลายเดือนก่อน

    Very clear explanation!! This is the first time I understood the words "bagging"!

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

    Wow....amazingly well explained. Thank you so much for creating this wonderful video.

  • @Tfsbu9
    @Tfsbu9 7 หลายเดือนก่อน +25

    Thx a lot, Im people from the future😂

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

    how anyone can do so much hard work to make this type of video for us. its amazing work. i can understand how those animations are important for machine learning problem. thank you very much

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

    Thank you, this video really helped me understand random forests

  •  2 ปีที่แล้ว

    Excellent video! Very clear explanation and the animation was really easy to follow.

  • @NA-rx5oy
    @NA-rx5oy ปีที่แล้ว

    Amin the medical field, not big fan of stats, but need this knowledge for my research. You did a great job in explaining the concept. Big fan!!

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

    This is the most helpful machine learning video I have ever seen!

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

    Best explanation for a newbie I’ve ever seen!

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

    Great explanation. Keep up the good work!

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

    Excellent video, thank you! I got one small comment. In the original algorithm, a subset of features is selected at every node of the tree. So every tree gets the total set of features, but only a random subset of these features is used at every node.

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

    Hey Normalized Nerd you are the best! You explained these concepts better than my professors.

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

    Great Explanation!!!

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

    Thank you, this really helped me understand random forests easily

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

    can I ask, when you are passing in the new data point at 5:08, for x0 and x1, why the 2.8 did not reach to leaf 0? but only just 6.2 has a leaf node of 1??

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

      i suppose you already know that, but for others who are asking the same question, this happened because the first if statement was satisfied x1 is greater than 4.9 thus it moved to the right leaf(which led to 1),and if you are using sklearn for ML you will see the argument when creating a model, it might prompt you to set a random forest.

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

    My mathematical heart cracked when he casually said "log or square root of the total number of features". Those two values could be many orders of magnitude different from each other.

  • @tanmaysingh1131
    @tanmaysingh1131 5 หลายเดือนก่อน

    well explained bro... please make one explaining the extra tree algorithm for regression

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

    Enjoyed and appreciated this so much. Clear to the point. Thank you so much!

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

    Thank you so much for this video, great explanation and really well executed, kudos!

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

    This is actually pretty good, nice job!

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

    Thanks for helping me understand something that I didn’t understand many years after graduating from my Masters 😅

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

    Very good explanation and very good your animation to explain it! Thanks NN, subscribed!

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

    I absolutely love the quality of this video!

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

      Yay, thank you!

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

      @@NormalizedNerd Please what tools did you use to make this video?

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

    the explanation is clear and thorough, love it!

  • @borees36
    @borees36 5 หลายเดือนก่อน

    Amazing explanation, thank you very much for sharing your knowledge!

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

    clear explanation and clear visualization, it didn't even feel like learning.

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

    Hi man, first of all your videos are amazing. It is nice to see, that you can describe such complex topics so easy!!
    Do you have the name of the paper, which investigate that the number of selected features should be near to the log or square root?

  • @ash__borne
    @ash__borne 7 หลายเดือนก่อน

    Got an exposé in a few minutes. This has all I need. Thanks 👍🏾 God bless

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

    Hi, The explanation is very nice. One thing i am missing is how the tree is deciding which feature to select as root node and in case of continuous variable, what value the root node should check to make the decision? If this is explained, then it will be perfect in my opinion. Overall Good work. Keep it up.

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

    literally the best video on this topic!!!

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

    The visualization made it easy to understand! Loved it.

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

    You spoke freely and used pictures. Good Job.

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

    You earned a sub. Great channel

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

      Thanks mate :)

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

      no such thign as nerx or not, techx s k

  • @KhoaPham-qj8ry
    @KhoaPham-qj8ry 8 หลายเดือนก่อน

    That is so clearly explained. Well done!!

  • @LifeKiT-i
    @LifeKiT-i ปีที่แล้ว

    I just study ML under Andrew Ng course, but found it very confusing. However, you explain it in a very clear way!!!!

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

    At 6:39, you are saying that the the trees will act similarly which will increase the variance. Why would that increase the variance if they're behaving the same?