in Technology by
Explain the steps in making a decision tree?

1 Answer

0 votes
by
  1. Take the entire data set as input
  2. Calculate entropy of the target variable, as well as the predictor attributes
  3. Calculate your information gain of all attributes (we gain information on sorting different objects from each other)
  4. Choose the attribute with the highest information gain as the root node 
  5. 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. The decision tree for this case is as shown:

offer

It is clear from the decision tree that an offer is accepted if:

  • Salary is greater than $50,000
  • The commute is less than an hour 
  • Incentives are offered 

Related questions

0 votes
    In a computational complexity theory, a problem with decision making is said to be NP-complete when it is both ... c) Non-deterministic Polynomial time d) Non Probabilistic time...
asked Dec 29, 2022 in Technology by JackTerrance
0 votes
    machine that can do things like space recognization visual perception and decision making are called _______. Please answer the above question....
asked Aug 23, 2022 in Education by JackTerrance
0 votes
    The basis of decision making depends upon i) availability of information ii) past experience iii) positive attitude iv) ... ) and iii) Select the correct answer from above options...
asked Nov 13, 2021 in Education by JackTerrance
0 votes
    Which of the following is not a decision making statement? (a) if (b) if-else (c) switch (d) ... java programming questions and answers pdf, java interview questions for beginners...
asked Oct 26, 2021 in Education by JackTerrance
0 votes
    How can I extract the decision path as a textual list from a trained tree in a decision tree ? Something similar to ... then class='A' Select the correct answer from above options...
asked Jan 22, 2022 in Education by JackTerrance
0 votes
    explain the following term concept financial decision Select the correct answer from above options...
asked Aug 3, 2022 in Education by JackTerrance
0 votes
    What are the pros and cons of decision trees?...
asked Mar 11, 2021 in Technology by JackTerrance
0 votes
    If a friendship with an applicant could interfere with a hiring decision, this is typically referred to as:...
asked Nov 29, 2020 in Technology by Editorial Staff
0 votes
    Whenever an enterprise makes a decision, it deeply considers the effect it will have on its end users. What is this statement describing?...
asked Nov 28, 2020 in Technology by JackTerrance
0 votes
    Decision support programs are designed to help managers make __________ (a) budget projections (b) visual presentations ... (d) vacation schedules Please answer the above question....
asked Oct 22, 2022 in Education by JackTerrance
0 votes
    Decision support programs are designed to help managers make __________ (a) budget projections (b) visual presentations ... (d) vacation schedules Please answer the above question....
asked Oct 2, 2022 in Education by JackTerrance
0 votes
    Which decision of the Court has resulted in protection of honour and dignity of women? Please answer the above question....
asked Aug 14, 2022 in Education by JackTerrance
0 votes
    State whether the following statement are true or false with reasons. Sovereignty means State has the freedom to take its own decision. Please answer the above question....
asked Aug 4, 2022 in Education by JackTerrance
0 votes
    I am building a model for binary classification problem where each of my data points is of 300 dimensions (I am ... the 300 dim space? Select the correct answer from above options...
asked Feb 1, 2022 in Education by JackTerrance
...