Walmart interview question

Explain random forrest model

Interview Answer

Anonymous

11 Jul 2020

Its an ensemble technique. Multiple decision trees are combined and the results the aggregated and the highest one is the prediction . Bootstrap data is created i.e. randomly data is elected from the original dataset (there are chances that data will be duplicated) and while deciding the root node instead of considering one all the features here a random subset of features is taken and then decided (Based on gini impurity). Its also called a bagging algorithm (bootstrapping + aggregating).