60 likes | 359 Views
Decision Trees. Modeling Logic with Decision Trees. A graphical representation of a decision situation Decision situation points are connected together by arcs and terminate in ovals Two main components Decision points represented by nodes Actions represented by ovals.
E N D
Modeling Logic with Decision Trees • A graphical representation of a decision situation • Decision situation points are connected together by arcs and terminate in ovals • Two main components • Decision points represented by nodes • Actions represented by ovals
Modeling Logic with Decision Trees • Read from left to right • Each node corresponds to a numbered choice on a legend • All possible actions are listed on the far right
How to Construct a Decision Tree • Draw a node on the left. • Number it 1. • Create a legend, where Number=Question • The order of the questions you ask is important! • Branch all possible values to the right. • Create new nodes for each branch. • Number them 2. • Repeat as necessary. Each successive node number is incremented by 1. • Draw actions as ovals on the far right. The tree should connect the nodes to the actions. • Redrawing the decision tree is common.
How to Construct a Decision Tree • Example for calculating CTI tuition • U/G • Part Time (1 to 11 hrs.): $335.00/per hour • Full Time (12 to 18 hrs.): $17,820.00 • * Credit hours over 18 are charged at the part-time rate • Graduate: • Part time (1 to 7 hrs.): $520.00/per hour • Full time (>= 8 hrs.): $520.00/per hour • What questions must you ask? • Create a decision tree for this example.