0 votes
in Data Science by
How do you build a random forest model?

1 Answer

0 votes
by

A random forest is built up of a number of decision trees. If you split the data into different packages and make a decision tree in each of the different groups of data, the random forest brings all those trees together.

Steps to build a random forest model:

  1. Randomly select 'k' features from a total of 'm' features where k << m
  2. Among the 'k' features, calculate the node D using the best split point
  3. Split the node into daughter nodes using the best split
  4. Repeat steps two and three until leaf nodes are finalized 
  5. Build forest by repeating steps one to four for 'n' times to create 'n' number of trees 

Related questions

+2 votes
asked May 28, 2021 in Data Science by sharadyadav1986
+2 votes
asked Dec 31, 2021 in Unstructured Data Classification by rajeshsharma
...