A random forest model acts as an ensemble consisting of multiple decision trees. Each decision tree in the random forest takes inputs and gives the class prediction as output. The class with the highest number of votes becomes the model decision. The random forest can be used for both classification and regression.
To download the cheatsheet, please login below and follow us on Instagram.