Random Forest Model in R

Поділитися
Вставка
  • Опубліковано 21 лип 2024
  • Recap on Variable Selection :- • Random Forest Model - ...
    Recap on 'Sample' function :- • Random Forest Model in R
    Confusion Matrix :- • Evaluating Random Fore...

КОМЕНТАРІ • 29

  • @MrNummularius
    @MrNummularius 2 роки тому +6

    Man, you must come back to channel and continue to teach us. YOU MUST.

  • @pranaviyer9982
    @pranaviyer9982 2 роки тому +1

    Quickest and best random forest video out there thanks for this!!

  • @salmaasghar1674
    @salmaasghar1674 Рік тому

    EXCELLENT tutorial I must say.... you are born with extraordinary God-gifted abilities my dear.

  • @aneeshkumarkv7792
    @aneeshkumarkv7792 Місяць тому

    Made it so simple and illustrative... thanks a lot

  • @reginalduy3678
    @reginalduy3678 3 роки тому +1

    Wow, you made it look so easy. Subscribed!

  • @theforester_
    @theforester_ 2 роки тому

    what an awesome video. thanks very much

  • @gonzalosotomayor4914
    @gonzalosotomayor4914 3 роки тому +1

    Hi, thank you for share this great tutorial, just one question, this code that herein you provide for us ¿is sufficient to work with imbalanced data sets? Or contrary, ¿do you consider that I need to apply some changes? If your answer is yes for the second question, ¿what would these be? Thanks in advance for your reply

  • @kaam975
    @kaam975 2 роки тому

    You are the best!!!

  • @comditek4264
    @comditek4264 4 роки тому

    Very well explained! simple and to the points. Thank you very much. Just one question, if you have more than 53 factor variable how do you perform RF? TIA

    • @easyml1234
      @easyml1234  4 роки тому +1

      Firstly Thank you so much for your kind words :)
      and to answer your query - You can but it would be better to use PCA or some other dimension reduction technique before :).

  • @bishwajeetsingh8834
    @bishwajeetsingh8834 3 роки тому +1

    A super helpful video for beginner like me. plz, keep going on. most underrated channel in ML.

  • @nixgeldring3564
    @nixgeldring3564 2 роки тому

    Thanks for this. One question: why do you sample with replacement for your training/test set? That means you will pick some of the values more than once, right?

    • @easyml1234
      @easyml1234  2 роки тому +1

      Hi thank you so much for your comment. Whilst sample replacement means picking values more than once in this case as we usually use the set.seed command where one particular observation will be only assigned to EITHER TRAINING OR TESTING. If you print the index vector you will find that. I have explained about set seed function in another video having said that I have forgotten to included it in this video. But yes I guess whenever I have used the sample function for statistical purposes I have always kept sample replacement bro be true (possibly due to force of habit). Rest assured in this case one observation will either be assigned to training or testing because of two fail safe protocols 1. the number of rows in the sample function is equal to the number of rows in my data 2. The aforementioned set seed function will ensure no matter how many times we run the code once an observation is assigned to either training or testing it remains so. Thank you once again I will add set.seed in my upcoming ML videos. Please take a look at my Regression Model in R video where I have printed the index function

  • @georgiamajdalani7680
    @georgiamajdalani7680 Рік тому

    Very helpful thank you!

  • @kevinshao9148
    @kevinshao9148 2 місяці тому

    Hi, what is this "predict(...)" function? Is it from 'randomForest" or it's R built-in function? Thanks

  • @user-ol3kq9ch5d
    @user-ol3kq9ch5d 3 роки тому

    浓郁的咖喱味道

  • @estrellitalinda7658
    @estrellitalinda7658 7 місяців тому

    how can incorporate upsamling or downsampling before running the random forest model? neeeeed help pls

  • @katherinechau5594
    @katherinechau5594 3 роки тому +2

    I will pay someone to find me an R tutorial that focuses on continuous variables instead of factors/classifications.

  • @taisepinheiro8747
    @taisepinheiro8747 6 місяців тому

    Hi, thank you very much for sharing this video :) the only one tutorial that I was able to follow. One question, my predicted variable is not categorial, but it´s an area of deforestation. So, Can I use the code you shared in this video?

  • @Martyr022
    @Martyr022 4 роки тому +2

    your videos are super helpful! Keep it up!

  • @ebadat-ur-rehmanbabar5003
    @ebadat-ur-rehmanbabar5003 Рік тому

    What is the version of your R studio?

  • @antoniojoenalau9307
    @antoniojoenalau9307 2 роки тому

    i got an error message when creating the random forest model. it says "Error in randomForest(Inactive_flag ~ ., data = training) :
    could not find function "randomForest". i used the inactive flag in my dataset, but i want to know i could not find the function randomForest. i already installed the randomForest package and loaded the library and it works fine

    • @cornellmihkail1238
      @cornellmihkail1238 2 роки тому

      Does your `training` object contain the `Inactive_flag` column?

  • @snowelfracinghorsemanship
    @snowelfracinghorsemanship 4 роки тому

    Thank you, this was very helpful!

  • @hebajaffeli7491
    @hebajaffeli7491 Рік тому

    why are you angry 🤣

  • @brianbwoma1054
    @brianbwoma1054 2 роки тому

    im getting 90% accurarcy

  • @anthonycardenas4551
    @anthonycardenas4551 3 роки тому

    Good video, you will have to my subscription.
    Thanks!!!