Lead Data Scientist Question:

What are the steps in making a decision tree?

Tweet Share WhatsApp

Answer:

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

Download Lead Data Scientist PDF Read All 60 Lead Data Scientist Questions
Previous QuestionNext Question
Can you explain me what is logistic regression? Or State an example when you have used logistic regression recently?Explain me what is the difference between machine learning and deep learning?