Тёмный

How Random Forest Work|How Random Forest Algorithm Works|Random Forest Machine Learning 

Unfold Data Science
Подписаться 87 тыс.
Просмотров 33 тыс.
50% 1

How Random Forest Work|How Random Forest Algorithm Works|Random Forest Machine Learning
#RandomForest #RandomForestMachinelearning #UnfoldDataScience
HI,
My name is Aman and I am a Data Scientist.
About this video:
Want to learn why Random Forests are one of the most popular and most powerful supervised Machine Learning algorithm in Machine Learning? What this video tutorial explaining the basics of Random Forests.
Random forest algorithm is a one of the most popular and most powerful supervised Machine Learning algorithm in Machine Learning that is capable of performing both regression and classification tasks. As the name suggest, this algorithm creates the forest with a number of decision trees.
In general, the more trees in the forest the more robust the prediction. In the same way in the random forest classifier, the higher the number of trees in the forest gives the high accuracy results.
To model multiple decision trees to create the forest you are not going to use the same method of constructing the decision with information gain or gini index approach, amongst other algorithms. If you are not aware of the concepts of decision tree classifier, Please check out my videos here on Decision Tree CART for Machine learning. You will need to know how the decision tree classifier works before you can learn the working nature of the random forest algorithm.
About Unfold Data science: This channel is to help people understand basics of data science through simple examples in easy way. Anybody without having prior knowledge of computer programming or statistics or machine learning and artificial intelligence can get an understanding of data science at high level through this channel. The videos uploaded will not be very technical in nature and hence it can be easily grasped by viewers from different background as well.
Join Facebook group :
groups/41022...
Follow on medium : / amanrai77
Follow on quora: www.quora.com/profile/Aman-Ku...
Follow on twitter : @unfoldds
Get connected on LinkedIn : / aman-kumar-b4881440
Follow on Instagram : unfolddatascience
Watch Introduction to Data Science full playlist here : • Data Science In 15 Min...
Watch python for data science playlist here:
• Python Basics For Data...
Watch statistics and mathematics playlist here :
• Measures of Central Te...
Watch End to End Implementation of a simple machine learning model in Python here:
• How Does Machine Learn...
Have question for me? Ask me here : docs.google.com/forms/d/1ccgl...

Опубликовано:

 

10 июл 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 114   
@mosama22
@mosama22 2 года назад
I'm studying Data Science at MIT, you really can't imagine Aman how much "Unfold Data Science" is helping me, and a couple more channels, before I start any topic I like to tackle it first or just take a general idea, and you can't imagine how much your videos helped! Short, concise, and to the point! Thank you Aman 🙂
@Sagar_Tachtode_777
@Sagar_Tachtode_777 3 года назад
You just nail the big concepts with a simple example. Thank you. Keep it UP. Grow fast and furious!!
@UnfoldDataScience
@UnfoldDataScience 3 года назад
My pleasure Sagar.
@askpioneer
@askpioneer Год назад
I like your simplicity in teaching , you made topics simple. great job aman.
@vishalrai2859
@vishalrai2859 3 года назад
wow what a teacher you are exceptional i think no one on youtube can teach like you in so easy and lucid way thank you sir
@UnfoldDataScience
@UnfoldDataScience 3 года назад
So nice of you Vishal.
@_proton5
@_proton5 3 года назад
Excellent explanation in simple English. Keep up the good work Aman! Thanks!
@UnfoldDataScience
@UnfoldDataScience 3 года назад
Welcome Harshal.
@prakharagrawal4011
@prakharagrawal4011 3 года назад
Beauty of this lecture is very easy and elegant explanation in simple English. deadly combination.. Thank you Aman
@UnfoldDataScience
@UnfoldDataScience 3 года назад
Welcome Prakhar.
@muthierry1
@muthierry1 3 года назад
Great explanations .. thank you very Much.. Sir
@nooreldali7432
@nooreldali7432 Год назад
wow the example about salary in decission tree was sooo good! hats off
@UnfoldDataScience
@UnfoldDataScience Год назад
Your comment means a lot to me. Keep watching
@GopiKumar-ny3xx
@GopiKumar-ny3xx 4 года назад
Useful information....nice presentation
@UnfoldDataScience
@UnfoldDataScience 4 года назад
Thank you.
@imranaziz5856
@imranaziz5856 Год назад
Excellent presentation and content in a simplified way and shortest time ! Kudos to you. Thank you
@UnfoldDataScience
@UnfoldDataScience Год назад
Thanks Imran.
@sunilsharanappa7721
@sunilsharanappa7721 3 года назад
Superb explanation , Keep going and growing. Thanks a lot.
@UnfoldDataScience
@UnfoldDataScience 3 года назад
Thanks again Sunil :)
@eyobsolomon4663
@eyobsolomon4663 3 года назад
#Interesting
@UnfoldDataScience
@UnfoldDataScience 3 года назад
Thanks a lot.
@spicytuna08
@spicytuna08 Год назад
wpw!!! what a gift in teaching!!!
@alkashie9174
@alkashie9174 4 года назад
great video , simple and easy to understand , Thank you sir !
@UnfoldDataScience
@UnfoldDataScience 4 года назад
You are welcome. Keep watching:)
@mehdimediouni9659
@mehdimediouni9659 4 года назад
very helpful, keep up the good work !
@UnfoldDataScience
@UnfoldDataScience 4 года назад
Thanks Mehdi, will do! Stay Safe. Tc.
@uchennanwosu5327
@uchennanwosu5327 2 года назад
Bravo! Excellent exposition.
@UnfoldDataScience
@UnfoldDataScience 2 года назад
Thanks a lot
@tejagunupudi5318
@tejagunupudi5318 Год назад
This is pretty good sir. got a lot of input from this video
@Gilco333
@Gilco333 3 года назад
You have explained the subject very well!!
@UnfoldDataScience
@UnfoldDataScience 3 года назад
Thanks a lot for the feedback.
@nikhildesai2460
@nikhildesai2460 2 года назад
Great Explanations Aman.
@UnfoldDataScience
@UnfoldDataScience 2 года назад
Thanks Nikhil
@sangrammishra9923
@sangrammishra9923 3 года назад
excellent content
@UnfoldDataScience
@UnfoldDataScience 2 года назад
Thanks Sangram.
@srinivaskrnagar4029
@srinivaskrnagar4029 2 года назад
Super lecture, easy to understand, keep up the good work bro...
@UnfoldDataScience
@UnfoldDataScience 2 года назад
Keep watching Srinivas.
@amoldhumane8277
@amoldhumane8277 Год назад
Thank you Aman!
@UnfoldDataScience
@UnfoldDataScience Год назад
Welcome!
@azingo2313
@azingo2313 Год назад
Very good explanation ❤
@user-ur2en1zq4f
@user-ur2en1zq4f Год назад
my great teacher, thanks
@UnfoldDataScience
@UnfoldDataScience Год назад
You are welcome!
@archanamohapatra7589
@archanamohapatra7589 3 года назад
Well explained, Thank you👍
@UnfoldDataScience
@UnfoldDataScience 3 года назад
Glad it was helpful Archana.
@syedkamran6249
@syedkamran6249 4 года назад
Well explained sir
@UnfoldDataScience
@UnfoldDataScience 3 года назад
Thanks Syed :)
@santhoshkumar-dd6xq
@santhoshkumar-dd6xq 3 года назад
Excellent explanation in simple terms
@UnfoldDataScience
@UnfoldDataScience 3 года назад
Thanks Santhosh.
@smegala3815
@smegala3815 Год назад
Thank you
@UnfoldDataScience
@UnfoldDataScience Год назад
You're welcome
@soheilaahmadi4807
@soheilaahmadi4807 2 года назад
very great and clear
@UnfoldDataScience
@UnfoldDataScience 2 года назад
Glad it was helpful!
@Birdsneverfly
@Birdsneverfly 2 года назад
Excellent explanation. Esp the details on what happens when on feature is not selected and how it helps other features to vote in. Probably this also leads to feature importance too.
@UnfoldDataScience
@UnfoldDataScience 2 года назад
Thanks for watching
@adieu_bae
@adieu_bae 11 месяцев назад
You are a great teacher!
@UnfoldDataScience
@UnfoldDataScience 11 месяцев назад
Thanks a lot.
@bangarrajumuppidu8354
@bangarrajumuppidu8354 3 года назад
well explanation!!
@UnfoldDataScience
@UnfoldDataScience 3 года назад
Glad it was helpful!
@sudhavenugopal3726
@sudhavenugopal3726 3 года назад
Dear Aman, thank you for your excellent explaination. As ai am a slow learner, I have a doubt from 11.25 mins. Is that the did advantages of Decision tree or Random Forest, because your video is the only source of my learning journey
@UnfoldDataScience
@UnfoldDataScience 3 года назад
Disadvantage of Decision tree - Overfitting Disadvantage of Random Forest - Resource intensive algorithm
@dimplechutani2768
@dimplechutani2768 Год назад
Hi Aman . This is really great to see all the concepts in easy ,manner . Thanks for uploading it . I have a quick question , when we are testing our dataset on different decision trees then testing dataset will have all the N Columns and decision trees will have n1,n2,n3 columns then how it works ?
@UnfoldDataScience
@UnfoldDataScience Год назад
Very good question - its not a parametric model so it does not matter.
@sadhnarai8757
@sadhnarai8757 4 года назад
Good ..aman
@rai183
@rai183 4 года назад
Thank you.
@UnfoldDataScience
@UnfoldDataScience 4 года назад
Thank you :)
@gangulreddy7918
@gangulreddy7918 4 года назад
Thank u
@UnfoldDataScience
@UnfoldDataScience 4 года назад
Thank you.
@sandipansarkar9211
@sandipansarkar9211 2 года назад
finished watching
@kirtisardana8479
@kirtisardana8479 4 года назад
Hi Aman ...Till now your all videos are in order if following playlist from older to newer manner . Looks like now decision tree video should be part of this playlist after explaining ensemble and before random forest .... what do you think 🤔?
@UnfoldDataScience
@UnfoldDataScience 4 года назад
Thanks for feedback Kirti. Let me check if I can rearrange. Happy learning. tc
@arko1383
@arko1383 2 года назад
Hi Aman, thanks for your videos These are really informative and helpful I have one question I was asked by an interviewer When to use random forest instead of xgboost ?
@UnfoldDataScience
@UnfoldDataScience 2 года назад
Xgboost needs more server capacity on large data, random forest you get variablr importance, many more points to consider as well. This is a short answer
@nikhilgupta4859
@nikhilgupta4859 2 года назад
Hi Aman, While you say output of random forest is majority(suppose Y). Does that mean for all 300 inputs the prediction would be Y now. and for all test data the prediction would be Y only???
@itsarsh4421
@itsarsh4421 2 года назад
Its not like that you taking it wrong. Not all 300 data points will predict Yes. It shuffle data point row and column wise(not all 300 data points but 2/3 of the data). Its like if row no.1 given in bag1 and 2 other bags also with the corresponding to other feature. And bag1 giving output "Yes" and other 2 bags giving output "No" . Then it play a democratic rule which is every individual have same weightage and right to vote. So in this case the output will be "NO"
@praveensingh9688
@praveensingh9688 3 года назад
sir, just a small doubt what are these decision trees in random forest classifier made of like do they have other classifier such as ann, logistic regression, svm and other types in them? is it so or something else
@UnfoldDataScience
@UnfoldDataScience 3 года назад
Decision tree.
@jailata3822
@jailata3822 2 года назад
Sir , very nice video. Do you also take paid course?
@sagarmestry5514
@sagarmestry5514 4 года назад
Hello Aman can you please explain what it the difference b/w random forest classifier & extra tree classifier?
@UnfoldDataScience
@UnfoldDataScience 4 года назад
Hi Sager, for each feature , a random value is selected for the split in case of extra tree. I will explain in more detail in a video. Thanks you
@rusiraliyanage6643
@rusiraliyanage6643 2 года назад
Dear sir, are there are two methods of constructing random forest algorithms ?
@vinijcobatgamildotcom
@vinijcobatgamildotcom 4 года назад
Can you make videos on linear regression and logistics regression.
@UnfoldDataScience
@UnfoldDataScience 4 года назад
Hi Oyster, These videos are already there on my channel. Please find link below: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-8PFt4Jin7B0.html
@kalam_indian
@kalam_indian 2 года назад
Please don't dislike, he is the bestest trainer, this shows that knowledge is power and maximum other RU-vid videos are replica of one another making small modifications with no proper concept keep it up, you are the best
@UnfoldDataScience
@UnfoldDataScience 2 года назад
Thanks a lot. Your words are precious for me.
@krishna7440
@krishna7440 3 года назад
Sir for binary classification if no of tree are even number say we have 6 tree out of which 3 is yes or 1 and rest 3 is 0 or No Then what should b output of our Random forest method yes or No or else??
@usbabu
@usbabu 2 года назад
I think it just desides by tossing a coin🤔.
@nidhichourasiya2743
@nidhichourasiya2743 3 года назад
I have a que. if we have 1000 of record data nd we build random forest and n_estimaters=10,then in each decision tree how many record will get train
@UnfoldDataScience
@UnfoldDataScience 3 года назад
Good question Nidhi. There are two important parameters. One is "bootstrap" And other is "max_sample". For taking subset of data in each tree, you must say " Bootstrap " = True. By default it's True in python sklearn. Coming to "max_sample", if you say " none"(default), all records go in all trees. If you say a integer, those many rows. If you say a decimal, that percent of total no of rows.
@nidhichourasiya2743
@nidhichourasiya2743 3 года назад
@@UnfoldDataScience tnx sir
@shivanshjayara6372
@shivanshjayara6372 3 года назад
@10:22 You said that salary may not be part of further decision tree...(may not ) but what if salary is the only feature which has less entropy and high information gain. If it is so then i think in every decision tree root node will be salary only..... Or if it is taking different different rows and columns then i think it may happen that salary may not be always selected as a root node? i think i have question you also and answered my question by my own but you tell if im wrong then correct me please
@UnfoldDataScience
@UnfoldDataScience 3 года назад
Hi Shivansh, All the columns will not be selected in every tree. Hence, its possible that "Salary" is not part of few trees hence there is no question of it being root node.
@shivanshsingh5555
@shivanshsingh5555 3 года назад
Ok u mean to say that in randome forest all the columns are not get selected at once for all the decision tree...columns gets selected randomly?
@UnfoldDataScience
@UnfoldDataScience 3 года назад
Yes absolutely.
@mehtashyam5196
@mehtashyam5196 2 года назад
Sir how can we decide which catagory is to be taken as the root node of any decision tree when more than 2 catagory is given in data
@UnfoldDataScience
@UnfoldDataScience 2 года назад
Could you rephrase your question please?
@ravanshyam7653
@ravanshyam7653 2 года назад
for example if there are 500 decesion tress then it predicts 250 1 s and 250 0 s what the random forest will declares sir??
@UnfoldDataScience
@UnfoldDataScience 2 года назад
Highly unlikely scenario.
@askpioneer
@askpioneer Год назад
I have one doubt, in which scenario i choose decision tree ML over random forest, because it seems random forest is the best , then why should we use Decision Tree classifier
@UnfoldDataScience
@UnfoldDataScience Год назад
Normally we use random forest or boosting directly. No decision tree
@seetharaman5262
@seetharaman5262 7 месяцев назад
if i have a more than 2 classes what to do
@user-px5of1bi2g
@user-px5of1bi2g Год назад
Is random forest only for predicting? I’m tying to see which features affect the income of taxi drivers in NYC. Can I use random forest for that?
@tpennyhealth5861
@tpennyhealth5861 3 месяца назад
Ml generally is for predicting. Type of car, age of car, hours spent on the wheel, time of the day driver likes to work, economy of the city, and also drivers rating from other users
@tpennyhealth5861
@tpennyhealth5861 3 месяца назад
I don't think the sample has to have less observations. We sample N times for N rows of data
@UnfoldDataScience
@UnfoldDataScience 3 месяца назад
Both options are there
@rafibasha4145
@rafibasha4145 2 года назад
How to choose number of samples
@HtS643KyS6555GxQ3edA
@HtS643KyS6555GxQ3edA 3 года назад
Is there a proof of random forest’s accuracy as an algorithm? Thanks
@HtS643KyS6555GxQ3edA
@HtS643KyS6555GxQ3edA 3 года назад
Breiman 2001 has it
@UnfoldDataScience
@UnfoldDataScience 3 года назад
sklearn will give that.
@shekharkumar1902
@shekharkumar1902 2 года назад
What is pasting?
@ajaykushwaha-je6mw
@ajaykushwaha-je6mw 3 года назад
There is no doubt that RF is much better than Decision Tree, then why still Decision Tree still in use ?
@UnfoldDataScience
@UnfoldDataScience 3 года назад
Not in use mostly.
@geekyprogrammer4831
@geekyprogrammer4831 2 года назад
are you from Rajistan?
@UnfoldDataScience
@UnfoldDataScience 2 года назад
No Sir.
@geekyprogrammer4831
@geekyprogrammer4831 2 года назад
@@UnfoldDataScience I should be the one to call you Sir lol. Regardless from where you are, your Data Science content is gold. The way you boil down and explain complex concepts in very simple English is really mind blowing. In shaa Allah planning to see all of your videos and extract maximum information from your channel.
Далее
Random Forests : Data Science Concepts
15:56
Просмотров 45 тыс.
ML Was Hard Until I Learned These 5 Secrets!
13:11
Просмотров 233 тыс.
Decision Tree Classification Clearly Explained!
10:33
Просмотров 629 тыс.
AdaBoost, Clearly Explained
20:54
Просмотров 736 тыс.
What is Random Forest?
5:21
Просмотров 90 тыс.