All Courses

Explain the steps in making a decision tree.

By Poornima, a year ago
  • Bookmark

Explain Decision tree implementation steps in details.

Decision tree
1 Answer


  1. Take the entire data set as input.
  2. Look for a split that maximizes the separation of the classes. A split is any test that divides the data into two sets.
  3. Apply the split to the input data (divide step).
  4. Re-apply steps 1 to 2 to the divided data.
  5. Stop when you meet some stopping criteria.
  6. This step is called pruning. Clean up the tree if you went too far doing splits.

Your Answer


Live Webinar on: Jobs In Data Science in 2022 and onwards.

Oct 13th (7:00 PM) 431 Registered
More webinars

Related Discussions

Running random forest algorithm with one variable

View More