Home
Recent Q&A
Java
Cloud
JavaScript
Python
SQL
PHP
HTML
C++
Data Science
DBMS
Devops
Hadoop
Machine Learning
Azure
Blockchain
Devops
Ask a Question
Explain the steps in making a decision tree.
Home
Data Science
Explain the steps in making a decision tree.
+1
vote
asked
Oct 1, 2021
in
Data Science
by
Robin
Explain the steps in making a decision tree.
decision-tree
Please
log in
or
register
to answer this question.
1
Answer
0
votes
answered
Oct 1, 2021
by
Robin
Take the entire data set as input
Calculate entropy of the target variable, as well as the predictor attributes
Calculate your information gain of all attributes (we gain information on sorting different objects from each other)
Choose the attribute with the highest information gain as the root node
Repeat the same procedure on every branch until the decision node of each branch is finalized
For example, let's say you want to build a decision tree to decide whether you should accept or decline a job offer.
Your comment on this answer:
Email me at this address if a comment is added after mine:
Email me if a comment is added after mine
Privacy: Your email address will only be used for sending these notifications.
Related questions
+1
vote
Q: What are the steps in making a decision tree?
asked
Nov 16, 2021
in
Azure
by
Robin
decision-tree
0
votes
Q: What is a decision tree?
asked
Feb 8, 2023
in
Data Science
by
john ganales
decision-tree
+2
votes
Q: What is a decision tree?
asked
May 28, 2021
in
Data Science
by
sharadyadav1986
decision-tree
data-science
data-decision-tree
+3
votes
Q: Discuss Decision Tree algorithm
asked
May 30, 2022
in
Data Science
by
sharadyadav1986
decision-tree
+1
vote
Q: Explain the Decision Tree Classifier?
asked
Jul 6, 2022
in
Data Mining Methods Basics
by
sharadyadav1986
decision-tree
data-mining
+2
votes
Q: What are the advantages of a decision tree classifier?
asked
Jul 6, 2022
in
Data Mining Methods Basics
by
sharadyadav1986
decision-tree
data-mining
+1
vote
Q: In a Decision Tree Algorithm, __________ measure is used to measure the uncertainity present in data.
asked
Mar 10, 2021
in
Machine Learning
by
SakshiSharma
decision-tree-algorithm
decision-tree
tree-algo
Machine-Learning-questions-answers
0
votes
Q: What is a Decision Tree Classification?
asked
Feb 4, 2021
in
Artificial Intelligence
by
SakshiSharma
#decision-tree-classification
tree-decision
decision-tree
+1
vote
Q: What do you understand by Decision Tree in Machine Learning?
asked
May 8, 2022
in
Machine Learning
by
sharadyadav1986
decision-tree
+2
votes
Q: Do you think 50 small decision trees are better than a large one? Why?
asked
May 28, 2021
in
Data Science
by
sharadyadav1986
decision-tree
data-science
data-decision-tree
...