Introduction to Random Forest | Intuition behind the Algorithm

Sdílet
Vložit
  • čas přidán 2. 06. 2024
  • Get familiar with Random Forest in a straightforward way. This video provides an easy-to-understand intuition behind the algorithm, making it simple for beginners to grasp the basics of Random Forest in machine learning.
    Code used: github.com/campusx-official/1...
    ============================
    Do you want to learn from me?
    Check my affordable mentorship program at : learnwith.campusx.in/s/store
    ============================
    📱 Grow with us:
    CampusX' LinkedIn: / campusx-official
    CampusX on Instagram for daily tips: / campusx.official
    My LinkedIn: / nitish-singh-03412789
    Discord: / discord
    E-mail us at support@campusx.in
    ⌚Time Stamps⌚
    00:00 - Intro
    00:29 - Intuition
    14:35 - Code Demo

Komentáře • 43

  • @user-df5no7ol1q
    @user-df5no7ol1q Před rokem +6

    you are great teacher....great data scientist....hats off to you....because of you all the basic , small n small concepts getting cleared...you are faaabbb

  • @siyays1868
    @siyays1868 Před rokem +9

    I m a great fan of u & ur channel. Thanku so much for working hard. Itna mast Random forest shayad hi kisine explain kiya hoga youtube par. Not only Random Forest actually all other algorithms or different concepts in Data science , all videos of urs r the best of the best.

  • @rajatchauhan4410
    @rajatchauhan4410 Před 7 měsíci +4

    Hi, thanks for the great explanation but just a silly mistake I think after we did column sampling, we will need to give data point for prediction in same order as the features selected at 30:00

  • @arpittrivedi6636
    @arpittrivedi6636 Před rokem +1

    Bahut badiya sir. God bless you 🙏🙏

  • @siyays1868
    @siyays1868 Před rokem +2

    Best ever channel & best ever teacher for data science . Thanku very very much.

  • @_pareekshithmcMcpareekshith
    @_pareekshithmcMcpareekshith Před 2 měsíci

    the way you teach is absolutely amazing , keep up the good work ,thankyou

  • @anilkathayat1247
    @anilkathayat1247 Před měsícem

    Your explanation on each small point is next level! Great job sir.

  • @bhupendersharma0428
    @bhupendersharma0428 Před rokem +3

    It is best Channal for data Science It will grow 1M in 2023 i swear

    • @lakshaychauhan380
      @lakshaychauhan380 Před 4 měsíci +1

      Nhi hue bhai🙃

    • @shashibhushanjha7325
      @shashibhushanjha7325 Před měsícem

      Its good that less but genuine people are following this channel. Knowledge is for everyone but only dedicated minds will make use of it, other just follow their adrenaline rush.

  • @johnson2784
    @johnson2784 Před 5 měsíci

    massive respect ❤,
    you are a great teacher

  • @sourabhyadav8258
    @sourabhyadav8258 Před měsícem

    Great content totally diffrent way of teaching!! Mark my word nobody spent so much time on a Single project but here the story is diffrent!!

  • @narendraparmar1631
    @narendraparmar1631 Před 4 měsíci

    Very Well Explained
    Thanks Sir

  • @aounhaider8335
    @aounhaider8335 Před 10 měsíci +2

    Your videos on ML are amazing. Following this playlist!!

  • @minalgupta7456
    @minalgupta7456 Před 6 dny

    I m a great fan of u & ur channel

  • @balrajprajesh6473
    @balrajprajesh6473 Před rokem

    best of the best!

  • @vishnuvardhanjadava4186
    @vishnuvardhanjadava4186 Před 3 měsíci +1

    there is a small mistake in the column_row sampling(last one). df1,2,3 have different features which are trained on different models and while performing the prediction, you passed he same features for all three models and took majority(aggregation). apart from this rest is awesome.
    I have a question. lets say I run the random forest by giving my dataset with columns from F1 to F10 with target variable Y. I ran some sklearn model or something. i did train test split and i did fit and now, I want to perform prediction. since, each DT model in RF has different and only few cols(let's say 50%) and my test data will have all the cols. Are the test data features gonna be passed to respective DT model with respective features that the model was trained on? or is there some other mechanism? please explain.

  • @SourabhGupta108
    @SourabhGupta108 Před rokem +7

    I think there is some mistake while using column sampling, in a prediction part you are passing the same input array to all the decision trees while it should be different according to the sampled dataframe.

  • @ABHISHEKKUMAR-gv4di
    @ABHISHEKKUMAR-gv4di Před 2 lety

    I am not able to find the link for the visualisation tool

  • @AbdulRahman-zp5bp
    @AbdulRahman-zp5bp Před 2 lety

    THANK YOU 3000

  • @taslima5007
    @taslima5007 Před 2 měsíci

    You are great

  • @vishalkumar-us7ys
    @vishalkumar-us7ys Před 2 lety

    While teaching preprocessing you mentioned that we check for duplicate data (rows) and drop it as it can create problem while building model then how random forest handles the duplicate data which comes from sampling with replacement techniques.

    • @campusx-official
      @campusx-official  Před 2 lety +5

      Good question, Atul. See, the problem with duplicate data is that it increases model bias which may lead to overfitting. But the way RF works, it is able to handle this bias.

  • @ashutoshthokare2127
    @ashutoshthokare2127 Před 3 měsíci

    Thank u sir

  • @sandipansarkar9211
    @sandipansarkar9211 Před rokem

    finished watching

  • @brayanrai2880
    @brayanrai2880 Před 5 měsíci

    Best one

  • @Justine20366
    @Justine20366 Před 2 lety

    Hi, i have a small question about decision trees. Is it ok to have a decision tree with a max depth of 7, bcs i noticed how it produced a big tree but also had the better accuracy training and test score than if I had reduced the max depth.

    • @campusx-official
      @campusx-official  Před 2 lety +1

      Yes you can have a decision tree of max depth 7 or more. It depends on the data

    • @Justine20366
      @Justine20366 Před 2 lety +1

      @@campusx-official oh okay, both my train and test data show to be ok in terms of not over or under fitting !
      Btw thank you sir, your video literally saved my life! Bless you

  • @patelpavan5479
    @patelpavan5479 Před 8 měsíci

    ca we take two output in RF

  • @souravaich6620
    @souravaich6620 Před 2 lety

    I am still confused on sampling without replacement, if we have 10 features and we selecting let say 5 features for each DT, then my 10 features will be exhausted in 2 DTs only. Then how come it's distributing in i.e. 100 DTs? Same with row sampling we are giving 25% of rows to each DTs then it should be exhausted after 4 DTs, then how come we are training the other DTs. Please help me with this, I am totally confused with 'without replacement' option.

    • @aazeebh3734
      @aazeebh3734 Před 2 lety +2

      In sampling without replacement:
      For the 1st tree, if 5 columns are to be selected: For the 1st column, all 10 columns are available for selection. After the 1st column is selected, then the next column could be any of the remaining 9 columns.. So, this avoids repeating of the columns.
      For the next DT, the process starts from scrath. All the 10 columns are available for selection and the same process as above follows.
      In sampling with replacement, after the 1st column is selected, while selecting the 2nd column, it will have all the 10 columns to choose from, including the column already selected as 1st column.

  • @tanb13
    @tanb13 Před rokem +1

    I think the explanation of bootstrapping is wrong in the video. As per Wikipedia (en.wikipedia.org/wiki/Bootstrap_aggregating) , in bootstrapping process the size of the sample dataset has to be same as the original dataset and it is not a smaller subset of the original dataset as explained in the video. I think what you have explained (creating smaller samples from the original dataset) is concept of bootstrapping but applicable from statistics standpoint and not in context of Random Forests. Still I will be grateful if you can kindly explain your reasoning with some related articles.

  • @luffy6761.
    @luffy6761. Před rokem +1

    sir please provide notes for this ml playlist

  • @kindaeasy9797
    @kindaeasy9797 Před 3 měsíci

    Wow

  • @purushottammitra1258
    @purushottammitra1258 Před 2 lety

    How come 65th video after 62nd(ensemble technique) ??

  • @SatyamBonaparte
    @SatyamBonaparte Před 2 měsíci +1

    This video was a bit confusing ngl

  • @hamzal.2986
    @hamzal.2986 Před 3 měsíci

    Since you're speaking Indian, at least write the title in Indian!!! So we avoid wasting our time!