Random Forest Algorithm - Random Forest Explained | Random Forest in Machine Learning | Simplilearn

SdĂ­let
VloĆŸit
  • čas pƙidĂĄn 12. 06. 2024
  • đŸ”„Professional Certificate Course In AI And Machine Learning by IIT Kanpur (India Only): www.simplilearn.com/iitk-prof...
    đŸ”„AI Engineer Masters Program (Discount Code - YTBE15): www.simplilearn.com/masters-i...
    đŸ”„AI & Machine Learning Bootcamp(US Only): www.simplilearn.com/ai-machin...
    đŸ”„ Purdue Post Graduate Program In AI And Machine Learning: www.simplilearn.com/pgp-ai-ma...
    This Random Forest Algorithm tutorial will explain how the Random Forest algorithm works. By the end of this video, you will be able to understand what is Machine Learning, what is a Classification problem, applications of Random Forest, why we need Random Forest, how it works with simple examples, and how to implement a Random Forest algorithm in Machine Learning. This video is a part of the Machine Learning with Python Series.
    Below are the topics covered in this Random Forest Algorithm tutorial:
    00:00 - 02:08 Applications of Random Forest Algorithm
    02:08 - 02:59 Agenda
    02:59 - 04:07 Classification Algorithms
    04:07 - 05:36 Why Random Forest?
    05:36 - 06:40 What is Random Forest Algorithm?
    06:40 - 11:01 What is a Decision Tree?
    11:01 - 14:18 How does the Decision Tree algorithm work?
    14:18 - 17:27 How does the Random Forest algorithm work?
    17:27 - 45:34 Use Case - IRIS Flower Analysis using Python
    Dataset Link - drive.google.com/drive/folder...
    Subscribe to our channel for more Machine Learning Tutorials: czcams.com/users/Simplile...
    #RandomForestAlgorithm #MachineLearningAlgorithm #DataScience #SimplilearnMachineLearning #MachineLearningCourse #Simplilearn
    What is Random Forest Algorithm?
    The random forest algorithm is a supervised machine learning algorithm that takes randomly selected data and creates different decision trees. It then makes the collection of votes from trees to decide the class of the test object.
    You can also go through the Slides here: goo.gl/K8T4tW
    Machine Learning Articles: www.simplilearn.com/what-is-a...
    To gain in-depth knowledge of Machine Learning, check our Machine Learning certification training course: www.simplilearn.com/big-data-...
    - - - - - - - -
    âžĄïž About Post Graduate Program In AI And Machine Learning
    This AI ML course is designed to enhance your career in AI and ML by demystifying concepts like machine learning, deep learning, NLP, computer vision, reinforcement learning, and more. You'll also have access to 4 live sessions, led by industry experts, covering the latest advancements in AI such as generative modeling, ChatGPT, OpenAI, and chatbots.
    ✅ Key Features
    - Post Graduate Program certificate and Alumni Association membership
    - Exclusive hackathons and Ask me Anything sessions by IBM
    - 3 Capstones and 25+ Projects with industry data sets from Twitter, Uber, Mercedes Benz, and many more
    - Master Classes delivered by Purdue faculty and IBM experts
    - Simplilearn's JobAssist helps you get noticed by top hiring companies
    - Gain access to 4 live online sessions on latest AI trends such as ChatGPT, generative AI, explainable AI, and more
    - Learn about the applications of ChatGPT, OpenAI, Dall-E, Midjourney & other prominent tools
    ✅ Skills Covered
    - ChatGPT
    - Generative AI
    - Explainable AI
    - Generative Modeling
    - Statistics
    - Python
    - Supervised Learning
    - Unsupervised Learning
    - NLP
    - Neural Networks
    - Computer Vision
    - And Many More

    👉 Learn More At:
    đŸ”„ Enroll for FREE Machine Learning Course & Get your Completion Certificate: www.simplilearn.com/learn-mac...
    đŸ”„đŸ”„ Interested in Attending Live Classes? Call Us: IN - 18002127688 / US - +18445327688

Komentáƙe • 524

  • @SimplilearnOfficial
    @SimplilearnOfficial  Pƙed 2 lety +4

    đŸ”„Explore Our FREE Courses With Completion Certificate: czcams.com/video/-caxhMlw_04/video.html

  • @SimplilearnOfficial
    @SimplilearnOfficial  Pƙed 2 lety +8

    We hope this video was useful. The link for the dataset used in the video is provided in the description. Thanks!

    • @anutseksharma2811
      @anutseksharma2811 Pƙed 2 lety

      Hi,
      Thanks for great explanation. I have a small doubt. when you split test train in Ln [8] and in ln [9] we get how much data we have in training and testing- i get it. but when I do it in my same example- each time number of training and testing data gets different. why is it so? sometimes training data comes 120 and testing 30, sometimes 118, 32 or sometimes something else. why is it so?

    • @KillaniSurya
      @KillaniSurya Pƙed 2 lety

      Can you send me the Jupyter notebook file of code??

  • @ashishjain871
    @ashishjain871 Pƙed 4 lety +31

    Wow, the amount of effort to create these slides for teaching the material is obviously very high. Simply amazing :).

    • @SimplilearnOfficial
      @SimplilearnOfficial  Pƙed 4 lety +2

      WooHoo! We are so happy you love our videos. Please do keep checking back in. We put up new videos every week on all your favorite topics. Whenever you have the time, you must also check out our blog page @simplilearn.com and tell us what you think. Have a good day!

  • @monome3038
    @monome3038 Pƙed 3 lety +8

    never had any tutorial/lecture explaining so well, so simply yet so detailed; thank you so so so much !

    • @SimplilearnOfficial
      @SimplilearnOfficial  Pƙed 3 lety

      Thank you for the appreciation. You can check our videos related to various technologies and subscribe to our channel to stay updated with all the trending technologies.

  • @kaustavsarkar8732
    @kaustavsarkar8732 Pƙed 4 lety +10

    This channel has one of the best machine learning videos available on the internet

    • @SimplilearnOfficial
      @SimplilearnOfficial  Pƙed 4 lety +1

      WooHoo! We are so happy you love our videos. Please do keep checking back in. We put up new videos every week on all your favorite topics. Whenever you have the time, you must also check out our blog page @www.simplilearn.com and tell us what you think. Have a good day!

    • @IthaliiJackson
      @IthaliiJackson Pƙed 4 lety +1

      Sure, I can attest to this.

    • @SimplilearnOfficial
      @SimplilearnOfficial  Pƙed 4 lety

      Thanks for your love and support!

  • @Hiyori___
    @Hiyori___ Pƙed 3 lety +7

    Amazing tutorial and best explanation ever with the fruits. Also I love how clearly you explain the code

  • @santosksingh
    @santosksingh Pƙed 6 lety +3

    You guys explain the concepts really well!!!

    • @SimplilearnOfficial
      @SimplilearnOfficial  Pƙed 6 lety

      We are glad you found our video helpful, Santhosh. Like and share our video with your peers and also do not forget to subscribe to our channel for not missing video updates. You can also explore our playlist for more Machine learning videos - czcams.com/video/7JhjINPwfYQ/video.html.

  • @philhearing3659
    @philhearing3659 Pƙed 5 lety +3

    You are a great lecturer, thank you for explanation!

    • @SimplilearnOfficial
      @SimplilearnOfficial  Pƙed 5 lety +1

      Hey Filip, thank you for appreciating our work. We are glad to have helped. Do check out our other tutorial videos and subscribe to us to stay connected. Cheers :)

  • @hemilpatel925
    @hemilpatel925 Pƙed 4 lety +2

    you are excellent in explaining the full process and code step to step. GREAT JOB.

    • @SimplilearnOfficial
      @SimplilearnOfficial  Pƙed 4 lety

      Glad you enjoyed our video! We have a ton more videos like this on our channel. We hope you will join our community!

  • @KrishnoSarkar
    @KrishnoSarkar Pƙed rokem

    Very clear description of Random Forest technique and the codes

  • @Stephen-sd2xe
    @Stephen-sd2xe Pƙed 11 měsĂ­ci

    Awesome tutorial by simplilearn. Thank you so much!

  • @qone89
    @qone89 Pƙed 4 lety

    This video is really well done in that the teaching quality is good and the instructor understands the level of beginners by explaining everything clearly and simply

    • @SimplilearnOfficial
      @SimplilearnOfficial  Pƙed 4 lety

      Hi Kyuhwan, thank you for appreciating our work. We are glad to have helped. Do check out our other tutorial videos and subscribe to us to stay connected. Cheers :)

  • @0GRANATE0
    @0GRANATE0 Pƙed 3 lety +5

    31:07 instead of pd.factorize(train['species'])[0]; we could also use "hot encoding" right?

  • @d.p.1980
    @d.p.1980 Pƙed 6 měsĂ­ci

    Great skill with explaining everything in simple words!

  • @murtazawi.ch1
    @murtazawi.ch1 Pƙed 6 lety

    The best explanation. Thanks for sharing.

    • @SimplilearnOfficial
      @SimplilearnOfficial  Pƙed 6 lety +1

      Hey, thank you for appreciating our work. We are glad to have helped. Do check out our other tutorial videos and subscribe to us to stay connected. Cheers :)

  • @paragjp
    @paragjp Pƙed 5 lety +1

    Hi, initially random forest concept will using fruits concept. But in IRIS flower example it should show how random forest is working with example and diagram first. It would help to understand easily.

  • @HollyVanHart
    @HollyVanHart Pƙed 5 lety

    👍 Awesome, thanks for this! 😊 💗 🙌

    • @SimplilearnOfficial
      @SimplilearnOfficial  Pƙed 5 lety

      Hey Holly, thank you for watching our video. We are glad that you liked our video. Do subscribe and stay connected with us. Cheers :)

  • @swatijha7390
    @swatijha7390 Pƙed 4 lety +1

    Hey, just awesome video ! Concept were explained clearly

  • @ramneeksingh3988
    @ramneeksingh3988 Pƙed 5 lety

    Hi
    Thanks for this wonderful lecture but I have a query, won't a decision tree will always try to make a root node and following nodes in a manner where entropy is least? And I believe yes, then does it select root nodes at random and then follows an IG algorithm like ID3? How much 'Randomness' is there when Decision Tree decides which node will be root node, considering we have hundreds of nodes.

  • @esraagamal8938
    @esraagamal8938 Pƙed 4 lety +1

    Appreciated , really i enjoy learning with you , keep going :) :)

    • @SimplilearnOfficial
      @SimplilearnOfficial  Pƙed 4 lety

      Glad you enjoyed our video! We have a ton more videos like this on our channel. We hope you will join our community!

  • @HuskyAssassin1995
    @HuskyAssassin1995 Pƙed 4 lety

    Hi, can i ask at 31:27 when you execute clf.fit(train[features],y) what happens if Number of labels=______ does not match number of samples=_____?

  • @riasiti8369
    @riasiti8369 Pƙed 5 lety +1

    Terimakasih. Thank you!

  • @RafaAyadi
    @RafaAyadi Pƙed 5 lety

    You guys are the bomb! Thanks!

    • @SimplilearnOfficial
      @SimplilearnOfficial  Pƙed 5 lety

      Hey Rafa, thank you for appreciating our work. We are glad to have helped. Do check out our other tutorial videos and subscribe to us to stay connected. Cheers :)

  • @IthaliiJackson
    @IthaliiJackson Pƙed 4 lety

    Many Thanks. Nicely explained.

    • @SimplilearnOfficial
      @SimplilearnOfficial  Pƙed 4 lety

      Hey Jackson, thank you for watching our video. We are glad that you liked our video. Do subscribe and stay connected with us. Cheers :)

  • @TheRinkung
    @TheRinkung Pƙed 2 lety +1

    So great explanation. Thank you!

    • @SimplilearnOfficial
      @SimplilearnOfficial  Pƙed 2 lety

      Hope you enjoyed our video! We have a ton more videos like this on our channel. We hope you will join our community!

  • @andrewfoers8861
    @andrewfoers8861 Pƙed 3 lety +1

    Beautfiully explained. Thanks!

  • @nouhaylachataoui2821
    @nouhaylachataoui2821 Pƙed rokem +1

    amazing explanation , so simply and detailed , thank you so much sir

    • @SimplilearnOfficial
      @SimplilearnOfficial  Pƙed rokem

      We're so glad that you enjoyed your time learning with us! If you're interested in continuing your education and developing new skills, take a look at our course offerings in the description box. We're confident that you'll find something that piques your interest!

  • @ankitabhatia4525
    @ankitabhatia4525 Pƙed 5 lety +13

    At 16:38 , on what basis is the prediction from Tree 2 cherries. If I see the inputs, the first split Color is not Red, so the condition yields false and thus the prediction is still orange.

    • @Medhusalem
      @Medhusalem Pƙed 4 lety

      I think it is a bit strange as well.
      First tree: Color(Orange) True, means red = false
      Second Tree: Color(Red) True, means orange = false
      That doesn't seem right to me, that it just guesses the color both times instead of sticking with one and using it through all the decision trees.

    • @twbouji7580
      @twbouji7580 Pƙed 4 lety

      @@Medhusalem if we assume that it "chooses" randomly a color for each tree, then it makes sense. He said that they are good working with missing data, so is it possible that adding this randomness in the missing value a way to get the right prediction?

  • @kasyapdharanikota8570
    @kasyapdharanikota8570 Pƙed 2 lety

    thank you , very well explained . found this very helpful .

  • @ganeshkumarpatel
    @ganeshkumarpatel Pƙed 4 lety +1

    Dear simplilearn team here you put the best video to explain what Algorithms really are... But in LMS SELF PACED VIDEOS not so detailed explanation... Look into that and improve yourself

    • @SimplilearnOfficial
      @SimplilearnOfficial  Pƙed 4 lety

      Thank you for letting us know know about this. Your feedback helps us get better. We are looking into this issue and hope to resolve it promptly and accurately.

  • @shagun18jan
    @shagun18jan Pƙed 5 lety

    Hey! can you explain, me why didn't we split tree on the basis of color at the root node instead of using diameter and then color in the example of where in the basket there were three fruits Apple, lemon and grapes. three of them had a different color so we could have split them on the basis of color and we have got accurate results. And there wouldn't have been any need to use diameter. Can you please clear this doubt of mine. Also, Can Iris flower data set be modeled using Support Vector Machine? If yes which model is better the random forest or Support Vector Machine

  • @bluevalley82
    @bluevalley82 Pƙed 2 lety +1

    Thank you so much m. I’ve learnt alot from you

  • @jessehahka
    @jessehahka Pƙed 4 lety

    Is it possible to predict a set of numbers that will output from a random number generator, finding the algorithm, in order to duplicate the same pattern of results?

  • @corymaklin7864
    @corymaklin7864 Pƙed 5 lety

    Great video thank you

    • @SimplilearnOfficial
      @SimplilearnOfficial  Pƙed 5 lety

      Hey Cory, thank you for watching our video. We are glad that you liked our video. Do subscribe and stay connected with us. Cheers :)

  • @sujithkumar804
    @sujithkumar804 Pƙed 5 lety

    Thankyou for the video .
    Can you explain why is that it has high accuracy .. is it because of bagging approach only or are there any other reasons behind it.

    • @SimplilearnOfficial
      @SimplilearnOfficial  Pƙed 5 lety +2

      It is predominantly the bagging approach. The fact that the random forest algorithm works on different parts of the dataset also plays a role in providing better accuracy.

  • @gerardovera9829
    @gerardovera9829 Pƙed 3 lety +1

    Hi, I run the same code for practicing but the prediction results are different, does anybody have any idea of why is this?
    Maybe due to changes in the packages versions?
    I get "setosa, setosa" instead of "versicolor, versicolor" in block "Out[36]"

  • @MeetPatel-sk7pu
    @MeetPatel-sk7pu Pƙed 3 lety +1

    Awesome work done by uđŸ”„

  • @balajee41
    @balajee41 Pƙed 5 lety +7

    Great explanation. I have a question (1) At 15:40, how do we get split decision "Grows in summer"? This category variable is not available in dataset na?

    • @SimplilearnOfficial
      @SimplilearnOfficial  Pƙed 5 lety +1

      Hi Balajee, we assume this factor is present only for the sake of understanding. Thanks.

  • @gezahagnnegash9740
    @gezahagnnegash9740 Pƙed 2 lety +1

    Thanks, it helps me a lot!

  • @rishikambhampati2862
    @rishikambhampati2862 Pƙed 5 lety +1

    A great tutorial to get an understanding of what random forest is. Great work and Thanks :)

    • @SimplilearnOfficial
      @SimplilearnOfficial  Pƙed 5 lety

      Hey Rishi, thank you for appreciating our work. We are glad to have helped. Do check out our other tutorial videos and subscribe to us to stay connected. Cheers :)

  • @blackdeath39muffin45
    @blackdeath39muffin45 Pƙed 2 lety +1

    Can't we use train_test_split to train the model instead of all the steps in the prep?

  • @0GRANATE0
    @0GRANATE0 Pƙed 3 lety +1

    16:28 Why does it mark the (black fruit) as orange? I mean the data is missing? Does it pick this one Decision randomly? => If it would pick red, the whole example would not work, right?

  • @abrahamofek4485
    @abrahamofek4485 Pƙed 2 lety +1

    Very impressive, thank you

  • @yasirali8409
    @yasirali8409 Pƙed 2 lety +1

    Amazing way of explanation...

  • @jjoshua95
    @jjoshua95 Pƙed 4 lety

    Nice explanation thanks!!

  • @lalitheroes2011
    @lalitheroes2011 Pƙed 5 lety

    Welll.......Explained 👌👌👌

    • @SimplilearnOfficial
      @SimplilearnOfficial  Pƙed 5 lety

      Hey Lalit, thank you for watching our video. We are glad that you liked our video. Do subscribe and stay connected with us. Cheers :)

  • @AntonioAndrade
    @AntonioAndrade Pƙed 6 lety

    Nice video!

    • @SimplilearnOfficial
      @SimplilearnOfficial  Pƙed 6 lety

      Greetings! Thank you for your kind words. Spread the word by liking, sharing and subscribing to our channel! Cheers :)

  • @benjaminianashley5680
    @benjaminianashley5680 Pƙed 5 lety +4

    I have a doubt with the Random Forest being able to cope with missing values. In many other places I have heard that you must replace any null values for models to work. I tested an example on another dataset with null values and got this error, "ValueError: Input contains NaN, infinity or a value too large for dtype('float32'). " . Please could you expand on this.
    Excellent Video - thanks :-)

    • @harshassp9144
      @harshassp9144 Pƙed 5 lety +1

      if your data set is large then simply drop NAN rows

    • @SimplilearnOfficial
      @SimplilearnOfficial  Pƙed 5 lety +1

      Thanks for your input!

    • @SimplilearnOfficial
      @SimplilearnOfficial  Pƙed 5 lety

      Nan values cannot be compared with float32 type values. This is why it's important to remove all Nan values.

  • @briancheloti136
    @briancheloti136 Pƙed 3 lety +1

    A very great tutorial indeed. I understood the explanation so well. Could I pease have the dataset and code for this tutorial?

    • @SimplilearnOfficial
      @SimplilearnOfficial  Pƙed 3 lety

      Hello, thanks for viewing our tutorial. It would be helpful if you will provide your email ID to us so that we can send the requested dataset promptly. On the off chance that you need your email ID to be kept hidden from others, we can do that too. Hope that helps.

  • @adaloreen
    @adaloreen Pƙed 5 lety +2

    You have explained it very well but I have a question, why does the decision in 16:38 became cherries and yet the given parameters for its training set is given that the color of the unknown fruit is orange? thank you! I also need the answer because I will present this topic in our analytics class. thank you and more power! :D

    • @xiaoyuwang8157
      @xiaoyuwang8157 Pƙed 5 lety

      I guess whenever the decision split is about color, it will automatically goes to true branch, since there is no color information in the inital input

    • @pratikdani1746
      @pratikdani1746 Pƙed 5 lety

      So, initially when the example begins narrator tells us that we do not know the color of the object, which is the missing data itself, so the decsion tree cannot figure out what color it is having and istead goes to the second branch of both but the branch on right has no further branches but the branch on the left goes to the next decesion and gives us the result cherries. I, hope this helps.

    • @SimplilearnOfficial
      @SimplilearnOfficial  Pƙed 5 lety +2

      Although the colour for the unknown fruit is specified in the block containing data, for this example we assume that the colour is unknown. This is also mentioned in the audio. Therefore, our second decision tree makes the first split based on colour and arbitrarily says the fruit is red.

  • @amilcarc.dasilva5665
    @amilcarc.dasilva5665 Pƙed 5 lety +1

    Great tutorial .....Great Tutor and well explained...I have subscribed
    this tutorial and I assure you that I have been learning so many things
    about algorithms in ML in the previous videos.......I really love this
    tutorial. I really appreciate also your kind help whenever I request for
    the datasets .......I wanna one clarification on the "load_iris" is this the in-built function (or library)...?

    • @SimplilearnOfficial
      @SimplilearnOfficial  Pƙed 5 lety

      Hi Amilcar, thanks for subscribing to our channel and joining our community. We have shared the required dataset to your mail ID. Stay tuned for the updates!

    • @amilcarc.dasilva5665
      @amilcarc.dasilva5665 Pƙed 5 lety +1

      @@SimplilearnOfficial many thanks. Got it.

    • @SimplilearnOfficial
      @SimplilearnOfficial  Pƙed 5 lety

      Very welcome!

    • @SimplilearnOfficial
      @SimplilearnOfficial  Pƙed 5 lety

      The iris dataset is present within the sklearn library as it's one of the most commonly used one. So yes, load_iris is an inbuilt method that loads the iris dataset.

    • @venkatteja5885
      @venkatteja5885 Pƙed 5 lety

      @@SimplilearnOfficial hello..great video..please send the python code and the file...

  • @RS-el7iu
    @RS-el7iu Pƙed 4 lety

    excellently explained.... would have been even nicer if split train/test was also shown in sklearn, also some evaluation criterias also from sklearn.
    thanks a lot...

    • @SimplilearnOfficial
      @SimplilearnOfficial  Pƙed 4 lety

      Hey Raffi, thank you for watching our video and for the honest feedback. We will definitely look into this. Do subscribe, like and share to stay connected with us. Cheers :)

  • @supernitt
    @supernitt Pƙed 5 lety

    Do you have the random forest video in the part of the regression? Thanks.

    • @SimplilearnOfficial
      @SimplilearnOfficial  Pƙed 5 lety

      Hi Kritchayan, we don't have random forest video in the part of regression. However, we have Random forest video made separately in both Python and R language. If you are interested, check the below links:
      Random Forest in Python: czcams.com/video/eM4uJ6XGnSM/video.html
      Random Forest in R: czcams.com/video/HeTT73WxKIc/video.html

  • @apurva_m
    @apurva_m Pƙed 2 lety +2

    Amazing explanation 👌

    • @SimplilearnOfficial
      @SimplilearnOfficial  Pƙed 2 lety +1

      Hope you enjoyed our video! We have a ton more videos like this on our channel. We hope you will join our community!

  • @Loicmartins
    @Loicmartins Pƙed 5 měsĂ­ci

    5 years after it's always very clear!

  • @nikhilkhemchandani5991
    @nikhilkhemchandani5991 Pƙed 4 lety

    could we use split function for train and testing set

  • @Siyavarramchandkijai
    @Siyavarramchandkijai Pƙed 4 lety

    I am not python person but no doubt your explanation of concept is simply awesome

    • @SimplilearnOfficial
      @SimplilearnOfficial  Pƙed 4 lety

      Glad you enjoyed our video! We have a ton more videos like this on our channel. We hope you will join our community!

  • @zhuotunzhu8660
    @zhuotunzhu8660 Pƙed rokem +1

    Nice explanation!

  • @tracyc4458
    @tracyc4458 Pƙed 4 lety +1

    How does tree 1 decide the colour of the fruit is orange if the colour of the fruit is unknown? Do random forests consider all possible outcomes and take the majority of those? Thanks x

  • @aishasiddiquadabeer5143
    @aishasiddiquadabeer5143 Pƙed 4 lety

    Thank you Simplilearn team for the clear explanation. Can you please provide the dataset and the python notebook used in the video?

    • @SimplilearnOfficial
      @SimplilearnOfficial  Pƙed 4 lety

      Hello Aisha, thanks for viewing our tutorial and we hope it is helpful. It would be helpful if you will provide your email ID to us so that we could send the requested dataset promptly.

  • @temporarilyspatial
    @temporarilyspatial Pƙed 5 lety +1

    For the random forest, shouldn't the same fruit bowls/datasets have the same classification trees? That is, shouldn't the same fruit bowl split the same way to maximize information gain/GINI index? In random forests, doesn't the machine aggregate decision trees built from different datasets?

    • @SimplilearnOfficial
      @SimplilearnOfficial  Pƙed 5 lety +1

      Random forest creates multiple decision trees from a particular data set. Of course, each tree is formed considering a different section of the data set. Since different sections of the dataset are used to construct each classification tree, the fruit bowl will be split in different ways. random forest algorithm takes all the trees into consideration to generate the most accurate result.

  • @mandilal94
    @mandilal94 Pƙed 5 lety

    awesome video

    • @SimplilearnOfficial
      @SimplilearnOfficial  Pƙed 5 lety

      Hey Mandela, thank you for watching our video. We are glad that you liked our video. Do subscribe and stay connected with us. Cheers :)

  • @user-vb5pn7js1l
    @user-vb5pn7js1l Pƙed 8 měsĂ­ci

    well explained, sir

    • @SimplilearnOfficial
      @SimplilearnOfficial  Pƙed 8 měsĂ­ci

      We're so glad that you enjoyed your time learning with us! If you're interested in continuing your education and developing new skills, take a look at our course offerings in the description box. We're confident that you'll find something that piques your interest!

  • @vashistnarayansingh5995
    @vashistnarayansingh5995 Pƙed 5 lety +1

    Why can't you use the in inbuilt method of sklearn to split the data 8n training and test datasets

    • @SimplilearnOfficial
      @SimplilearnOfficial  Pƙed 5 lety

      Hi Vashist, thanks for checking out our tutorial. You are indeed right. There are multiple ways to split the data and using sklearn's inbuilt function is surely one of them. Hope that helps!

  • @s.e.7268
    @s.e.7268 Pƙed 4 lety

    well explained!!

  • @kakk5822
    @kakk5822 Pƙed 5 lety

    Great Video,thank you and please share the dataset

    • @SimplilearnOfficial
      @SimplilearnOfficial  Pƙed 5 lety

      Hi, we have shared the dataset to your mail ID. Happy Learning!

    • @KingYWong-kw3fj
      @KingYWong-kw3fj Pƙed 5 lety

      Can you please send me the dataset as well? Thank you.

    • @SimplilearnOfficial
      @SimplilearnOfficial  Pƙed 5 lety

      Hello Wong, thanks for watching our tutorial. It would be helpful if you will provide your email ID to us so that we could send the requested dataset promptly. Cheers!

  • @hedijabnouni4370
    @hedijabnouni4370 Pƙed 3 lety +2

    Thank you for this video.
    I have a practical work to do regarding my studies.
    The goal is to code a program with python concerning the image classification using Random Forest technique.
    Can you explain to me how to modify your code to use it on the pixels of images ?
    (we will test it on the famous image of Lena), and this is for the two phases: learning and evaluation according to the evaluation criteria of Levine and Nazif (Inter-region)
    Thank you in advance.

  • @MrPresonic
    @MrPresonic Pƙed 6 lety +2

    Great Video, thank you! Off topic question: As a non-native Englisch speaker I am wondering if the way you pronounce mEAsuring is a certain dialect or the actual correct pronounciation.

    • @Desi-qw9fc
      @Desi-qw9fc Pƙed 6 lety

      Peter Presonic it’s just his accent. Normal pronunciation is “meh”, not “may”.

    • @SimplilearnOfficial
      @SimplilearnOfficial  Pƙed 6 lety +1

      Thanks Peter, we are glad you found this content useful. That is his accent :)
      We have come up with new videos on Machine Learning, do check it out here: czcams.com/play/PLEiEAq2VkUULYYgj13YHUWmRePqiu8Ddy.html
      Happy learning from Simplilearn team!

  • @harsimranjeetsingh2693
    @harsimranjeetsingh2693 Pƙed 3 lety +1

    thank you for the tutorial, i have been subscribed to your channel for around a year now and i love the content, can you please send me the dataset for all the videos in this playlist that use Python.Thank you

    • @SimplilearnOfficial
      @SimplilearnOfficial  Pƙed 3 lety

      Hello Harsimranjeet, thanks for viewing our tutorial and we hope it is helpful. It would be helpful if you will provide your email ID to us so that we could send the requested dataset promptly.

    • @harsimranjeetsingh2693
      @harsimranjeetsingh2693 Pƙed 3 lety

      @@SimplilearnOfficial its harsimranjeet1996@gmail.com

  • @asmitamore9021
    @asmitamore9021 Pƙed 3 lety

    Nice explanation 👌

  • @anthonysoronnadi5493
    @anthonysoronnadi5493 Pƙed 3 lety

    Great teacher

  • @neginalam4950
    @neginalam4950 Pƙed 4 lety

    Hi thank you. a wonderful tutorial. I have 9 features (unknown) and target. I want to predict if the customers will sign up or not. Do you think random forest can be applied here?

    • @swatijha7390
      @swatijha7390 Pƙed 4 lety

      Try different model thn check which one give your desired output

  • @AHElz-je1jh
    @AHElz-je1jh Pƙed 4 lety

    Hey. Thank you too much for this video. Can you write the codes to draw the random forest and branches of the decision tree also how save it as png or pdf file by python, please?

  • @hashikamaduranga6122
    @hashikamaduranga6122 Pƙed 3 lety +1

    thanks a lot

  • @sammy0722
    @sammy0722 Pƙed 4 lety +1

    Nice explanation. But for deciding optimum level of trees in a Random Forest we use OOB error rate. Can you also include it in may be next video.
    Thanks.

  • @yodoggydogg8490
    @yodoggydogg8490 Pƙed 2 lety +1

    what if my data is already numerical what is the step to implement instead of factorizing?

  • @soufyaneyassin7230
    @soufyaneyassin7230 Pƙed 4 lety

    hello, thank you for this amazing video, can i get the powerpoint presentation? because i can not download it from slideshare

    • @SimplilearnOfficial
      @SimplilearnOfficial  Pƙed 4 lety

      Hi Soufiane, we are not authorized to share the PPT materials. You can view it through slideshare. Thanks.

  • @jianhongzhou9520
    @jianhongzhou9520 Pƙed 5 lety +1

    I have a question about converting the species name into digits (0,1,2): what if we don't do the conversion? Can the classifier still do the prediction based on the species names(string)?

    • @amortalbeing
      @amortalbeing Pƙed 5 lety +1

      No, all of these models, operate on numbers. you must convert them into their numerical representation

    • @SimplilearnOfficial
      @SimplilearnOfficial  Pƙed 5 lety

      Thanks for your input!

    • @amortalbeing
      @amortalbeing Pƙed 5 lety

      @@SimplilearnOfficial No, Thank 'YOU' for being such a great Channel. I Enjoyed extremely well.
      Keep up the great work

    • @SimplilearnOfficial
      @SimplilearnOfficial  Pƙed 5 lety

      Hello, we are so happy to receive this wonderful compliment. Like and share our video with your peers and also do not forget to subscribe to our channel for not missing video updates. We will be coming up with more such videos. Cheers!

  • @elchopaxi5196
    @elchopaxi5196 Pƙed 5 lety +1

    Great video and explanations are top, but I can't run the code at 27:43, what is the problem if i may ask?

    • @SimplilearnOfficial
      @SimplilearnOfficial  Pƙed 5 lety

      Hi Lethabo, thanks for appreciating our work. We have forwarded your query to our team. Be assured, your queries will be addressed.

    • @Remmy1314
      @Remmy1314 Pƙed 4 lety +1

      Try to Separate the code from ## train , test to ....... ##
      train = df[df['is_train']==True]
      test = df[df['is_train']==False]
      hope it helps

    • @SimplilearnOfficial
      @SimplilearnOfficial  Pƙed 4 lety

      We appreciate your help! Keep engaging with our channel and stay tuned for more. Cheers!

  • @joxa6119
    @joxa6119 Pƙed 2 lety +1

    I have done Decision Tree before. Can I just change the classifier to Random Forest? Or I need to follow this one?

    • @SimplilearnOfficial
      @SimplilearnOfficial  Pƙed 2 lety

      "Hi ,
      You can leverage your decision tree, update the parameters and change it into a Random Forest Classifier."

  • @scigama71
    @scigama71 Pƙed 4 lety

    Excellent

    • @SimplilearnOfficial
      @SimplilearnOfficial  Pƙed 4 lety

      Hey James, thank you for watching our video. We are glad that you liked our video. Do subscribe and stay connected with us. Cheers :)

  • @rahulpandey3079
    @rahulpandey3079 Pƙed 5 lety

    From where can i get the data sets used in all the videos from simplilearn?
    Fast help would be highly appriciated?

    • @SimplilearnOfficial
      @SimplilearnOfficial  Pƙed 5 lety

      Hello Rahul, thanks for viewing our tutorial. It would be helpful if you will provide your email ID to us so that we could send the requested dataset promptly. On the off chance that you need your email ID to be kept hidden from others, we can do that also. Hope that helps.

  • @pravinjob5565
    @pravinjob5565 Pƙed 4 lety

    why train_test_split is not used in this method? is there any specific reason

  • @sachindoddamani2304
    @sachindoddamani2304 Pƙed 3 lety +1

    Thank you! It was amazing with lots of information. Can I get access to the python code, please?

    • @SimplilearnOfficial
      @SimplilearnOfficial  Pƙed 3 lety

      Hello, thanks for viewing our tutorial. It would be helpful if you will provide your email ID to us so that we can send the requested dataset promptly. On the off chance that you need your email ID to be kept hidden from others, we can do that too. Hope that helps.

    • @sachindoddamani2304
      @sachindoddamani2304 Pƙed 3 lety

      @@SimplilearnOfficial sachinrdoddamani@gmail.com

  • @md.ibrahimullah9318
    @md.ibrahimullah9318 Pƙed 4 lety

    I really liked your slides :p :p

  • @tanujkalra7334
    @tanujkalra7334 Pƙed 4 lety +1

    Hello Sir!!! Can you please tell me,how did we figure out the unknown fruit as cherry at 16:37

    • @Remmy1314
      @Remmy1314 Pƙed 4 lety +2

      First of all, the tree will ignore the missing data, since color unknown, it COULD BE true for the fruit to be apple or cherry. And then, with Circle, it COULD Be cherry. Trees tell what COULD Be true in according with the existing information.

    • @SimplilearnOfficial
      @SimplilearnOfficial  Pƙed 4 lety

      We appreciate your effort on sharing your knowledge. Do show your love by subscribing our channel using this link: czcams.com/users/Simplilearn and don't forget to hit the like button as well. Cheers!

  • @riyalikhite1393
    @riyalikhite1393 Pƙed 4 lety

    perfect sir

  • @keerthitippana7693
    @keerthitippana7693 Pƙed 4 lety

    25:50 I have a doubt on splitting data into Test and train. Here we are not splitting exactly into 75% and 25% of data.
    Here we split on random percentage of data.
    Why don't we use "train_test_split" from "sklearn.model_selection", where we can split the data into desired amount of test and train ?
    Thanks alot for the video.

    • @0GRANATE0
      @0GRANATE0 Pƙed 3 lety

      You got still no answer?

  • @azingo2313
    @azingo2313 Pƙed rokem

    Convention....True on Left 😊

  • @anjithnair3082
    @anjithnair3082 Pƙed 5 lety

    I have seen everyone use clf as the variable name for instantiating the random forest classifier. What is the abbreviation of CLF?? Just out of curiosity.

    • @SimplilearnOfficial
      @SimplilearnOfficial  Pƙed 5 lety

      Hi Anjith, thanks for watching our video. CLF just stands for "classifier". Hope that clarifies your curiosity. Do support us by subscribing to our channel using this link: czcams.com/users/Simplilearn.

  • @aakashnishad7048
    @aakashnishad7048 Pƙed 5 lety +1

    Thks sir

  • @stephengrey1102
    @stephengrey1102 Pƙed 4 lety

    Great explanation. Is the python code available for download anywhere? Are random forests a good choice for binary classifiers? Or are there other algorithms that do a better job?

    • @SimplilearnOfficial
      @SimplilearnOfficial  Pƙed 4 lety

      Hello Stephen, thanks for viewing our tutorial and we hope it is helpful. It would be helpful if you will provide your email ID to us so that we could send the requested dataset promptly.

  • @syedasadullah7025
    @syedasadullah7025 Pƙed 4 lety

    Hey i am doing traffic prediction and feature of matrix has days and weather condition in it can i apply random forest algorithm over it and also want to know that do i have to convert all days into 0-7 kindly reply soon

    • @SimplilearnOfficial
      @SimplilearnOfficial  Pƙed 3 lety

      "Hi Syed,
      We would suggest not to opt from random forest to solve this particular problem since that features are very less. So, to split the data at a particular node would be different."

  • @FaycelMtar
    @FaycelMtar Pƙed 3 lety

    Very good

  • @Longfet53
    @Longfet53 Pƙed 5 lety +1

    Why does tree #2 classify the fruit as cherries? the color of the fruit is orange

    • @SimplilearnOfficial
      @SimplilearnOfficial  Pƙed 5 lety +2

      Hi, thanks for checking out our tutorial. As mentioned in the video, for this particular example we must assume that the colour of the fruit is not known. So the fruit is randomly categorised as red. Hope that helps!

  • @MSuriyaPrakaashJL
    @MSuriyaPrakaashJL Pƙed 4 lety +1

    so if the data is missing . Is the result TRUE always?

  • @arifshaik9986
    @arifshaik9986 Pƙed 4 lety

    very good explanation sir. will u share the code and dataset please

    • @SimplilearnOfficial
      @SimplilearnOfficial  Pƙed 4 lety

      Hello Arif, thanks for viewing our tutorial and we hope it is helpful. It would be helpful if you will provide your email ID to us so that we could send the requested dataset promptly.

  • @dattabhabal421
    @dattabhabal421 Pƙed 5 lety

    how to split the dataset with specific column using panda dataframe
    your code nt working

    • @omkareshpali8486
      @omkareshpali8486 Pƙed 4 lety

      df= pd.read_csv('File_name')
      To access a specific column use:-
      df['column_name']
      To access all values of that column use df['column_name'].values

  • @nigiledwin4784
    @nigiledwin4784 Pƙed 5 lety

    Excelent lecture thanks.Can you please send me the code and data set for practice

    • @SimplilearnOfficial
      @SimplilearnOfficial  Pƙed 5 lety

      Hello Nigil, thanks for viewing our tutorial. It would be helpful if you will provide your email ID to us so that we could send the requested dataset promptly. On the off chance that you need your email ID to be kept hidden from others, we can do that also. Hope that helps.

  • @jerrylin5089
    @jerrylin5089 Pƙed 4 lety

    how did the 3rd tree figure out the color was orange? If it didn't know that, how was it able to classify the object as an orange??