Explain the steps that are there in making a decision tree?

Answer

answer-

1.Take the whole data set as the input.

2.calculate entropy of the target variable as well as teh predictor attributes.

3.calculate your information gain of all attributes.

4.choose the attribute with the highest information gain as the root node.

5.repeat the same procedure on every branch until decision node of each branch is finalised.

All DATA SCIENCE Questions

Ask your interview questions on data-science

Write Your comment or Questions if you want the answers on data-science from data-science Experts
Name* :
Email Id* :
Mob no* :
Question
Or
Comment* :
 





Disclimer: PCDS.CO.IN not responsible for any content, information, data or any feature of website. If you are using this website then its your own responsibility to understand the content of the website

--------- Tutorials ---