Decision Trees

20
Decision Trees Daisy Guevara Gilberto Jiménez Orlando Ruiz Jan Salomón

description

Decision Trees. Daisy Guevara Gilberto Jiménez Orlando Ruiz Jan Salomón. What is a rooted tree?. It is a tree in which one vertex has been designated as the root and every edge is directed away from the root. What are decision trees?. - PowerPoint PPT Presentation

Transcript of Decision Trees

Page 1: Decision Trees

Decision TreesDaisy GuevaraGilberto JiménezOrlando RuizJan Salomón

Page 2: Decision Trees

What is a rooted tree? It is a tree in which one vertex has been designated

as the root and every edge is directed away from the root.

Page 3: Decision Trees

What are decision trees? It is a rooted tree in which internal vertex

correspond to a decision, with a sub-tree at these vertices for each possible outcome of the decision.

The possible solution of the problem correspond to the paths to the leaves of this rooted tree.

Page 4: Decision Trees

Elements of a Decision Tree The set of decision (or strategies) The set of possible outcomes and/or the probabilities

of these outcomes. The results for the various combination and outcomes.

Once these elements are known, it is possible to find the “optimal” solution or decision of the problem.

Page 5: Decision Trees

Types of Decision Trees Decision Tree Forests

Page 6: Decision Trees

Types of Decision Trees Classification and

Regression Trees

Page 7: Decision Trees

Types of Decision Trees Binary Survival Tree

Page 8: Decision Trees

Advantages of Decision TreesAre simple to understand and interpret. Have value even with little hard data. Important

insights can be generated based on experts describing a situation (its alternatives, probabilities, and costs) and their preferences for outcomes.

Possible scenarios can be addedWorst, best and expected values can be determined

for different scenarios.Can be combined with other decision techniques.

Page 9: Decision Trees

Example: An application of decision trees in Project Management

A company named SciTools Incorporated, is invited to make a bid on a government contract. The company with the lower bid obtain the contract.

The cost of prepared a bid is the $5,000. The cost of the project is $95,000. The total cost for the company is $100,000. Then,

to obtain gain the company has to bid an amount greater than $100,000.

Page 10: Decision Trees

The first decision for SciTools is bid or not bid.

Bid?

End

Yes No

Page 11: Decision Trees

The second decision for SciTools is how much to bid?

Bid?

End

Yes No

How much to bid?

Page 12: Decision Trees

SciTools prepared the following analysis:Amount of money in the bid

Gain Loss

$115,000 $15,000 $5,000$120,000 $20,000 $5,000$125,000 $25,000 $5,000

Page 13: Decision Trees

The third decision is consider if there will be other competitors in the bid?

Bid?

Any competing

bid?

End

Yes No

Any competing

bit?

How much to bid?

Any competing

bid?

$125k

$120k

$115k

Page 14: Decision Trees

The company, based on previous experience believes there is a 30% chance that there will be no competing bids.

Bid?

Any competing

bid?

End

Yes No

Any competing

bit?

Win 25K Win bid? Win $15kWin bid? Win $20K

How much to bid?

Win bid?

Any competing

bid?

$125k

$120k

$115k

70% Yes 30% No70%

Yes70% Yes

30% No 30% No

Page 15: Decision Trees

The fourth decision is to consider the probability to win the bid.

Bid?

Any competing

bid?

End

Yes No

Any competing

bit?

Win 25K Win bid? Win $15kWin bid? Win $20K

How much to bid?

Win bid?

Any competing

bid?

$125k

$120k

$115k

70% Yes 30% No70%

Yes70% Yes

30% No 30% No

Page 16: Decision Trees

SciTools prepared the following analysis:Amount of money in the bid

Probability of win the bid

Probability of loss the bid

$115,000 80% 20%$120,000 40% 60%$125,000 10% 90%

Page 17: Decision Trees

The fifth decision is how much SciTools will gain or lose.

Bid?

Any competing

bid?

End

Yes No

Any competing

bit?

Win 25K Win bid? Win $15kWin bid? Win $20K

How much to bid?

Win bid?

Any competing

bid?

$125k

$120k

$115k

Loss $5kLoss $5K Gain $20kGain $25K Loss $5kGain $15k

70% Yes 30% No70%

Yes70% Yes

30% No 30% No

10% Yes

90% No

40% Yes

60% No

80% Yes

20% No

Page 18: Decision Trees

Example of Heads or Tails Two persons enter in a bid of whom will obtain two heads

or two tails. The options are presented in the following decision tree:

Toss 1

Toss 2

H

Toss 2

T

Win H Toss 3 Toss 3 Win T

H T H T

Win H

Win T

Win H

Win T

H T H T

Page 19: Decision Trees

Example of Green, Yellow, Red Card

Test 1

Test 2 Test 2

Test 3 Test 3 Test 3 Test 3

Quiz Quiz Quiz Quiz Quiz Quiz Quiz Quiz

Page 20: Decision Trees

Example of Dinner’s Dilemma

Menu PriceMofongo with Lobster $25Rice and Crab $18Rice with Meat Stew $12

A group of friends go out to dinner. They decided before arriving to the restaurant to share the bill. They are expecting to eat better and cheaper than paying individually.