what are we doing here exactly by using randomforestclassifer?
what is cross-validation score and k-fold cross validation?
what are we doing here exactly by using randomforestclassifer?
what is cross-validation score and k-fold cross validation?
Hey @akshat21, random forest is used as an algorithm to show how feature selection helps you increase the accuracy of the model to a great extent. First sir has passed all the features in the dataset for training and then to increase the accuracy, only first 10 most important features are selected to be our X data.
To get a good understanding of cross-validation and k-fold cross validation please go through this link.
Hope this helps you understand the concept 
Happy Learning 
I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.
On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.