Random forest

Random forest is a statistical algorithm that is used to cluster points of data in functional groups. When the data set is large and/or there are many variables it becomes difficult to cluster the data because not all variables can be taken into account, therefore the algorithm can also give a certain chance that a data point belongs in a certain group.

Steps of the algorithm

This is how the clustering takes place.

Using the algorithm

In a random forest algorithm the number of trees grown (ntree) and the number of variables that are used at each split (mtry) can be chosen by hand; example settings are 500 trees, 71 variables.

References

  1. ↑ "What is a Decision Tree? | Data Basecamp". 2022-01-05. Retrieved 2022-06-02.
  2. ↑ "What is a Random Forest? | Data Basecamp". 2022-01-08. Retrieved 2022-05-27.