*2.1.2.5 How does random forest algorithm work?*

Random forest algorithm works in two-section first is to create the random forest by using combining N choice tree, and 2-D is to make predictions for every tree created in the first section.

The running method may be defined as follows:

**Step-1:** Pick out random k records points from the education set;

**Step-2:** Construct the decision timber associated with the selected information factors (Subsets);

**Step-3**: Choose the variety N for choice bushes that you want to construct; **Step-4**: Repeat Step 1 and 2;

**Step-5:** For brand new statistics points, discover the predictions of each selection tree, and assign the brand new data factors to the class that wins the majority votes.
