Decision Trees
description
Transcript of Decision Trees
Decision TreesDecision Trees
Jennifer TsayJennifer Tsay
CS 157BCS 157B
February 4, 2010February 4, 2010
What is a Decision Tree?What is a Decision Tree?
Formal, structured Formal, structured approach to making approach to making decisionsdecisions
Visual Visual representation of a representation of a problem and its problem and its alternative solutionsalternative solutions
Helps decompose a Helps decompose a complex problem complex problem into smaller, more into smaller, more manageable tasksmanageable tasks
Why Bother?Why Bother?
Decision trees can help select the most Decision trees can help select the most favorable option using the favorable option using the probability probability of of each outcome and the resulting business each outcome and the resulting business valuevalue of these outcomes of these outcomes
Form accurate, balanced picture of risks Form accurate, balanced picture of risks and rewards of a particular choiceand rewards of a particular choice
Advantages of Decision TreesAdvantages of Decision Trees
Simple to understand and interpretSimple to understand and interpret Have value even with little hard dataHave value even with little hard data Can be combined with other decision Can be combined with other decision
techniquestechniques
What Are They Used For?What Are They Used For?
Used in situations of uncertaintyUsed in situations of uncertainty
Commonly used in decision analysis Commonly used in decision analysis to help identify an ideal strategy to to help identify an ideal strategy to reach a goalreach a goal
BusinessBusiness
EconomicsEconomics
Public HealthPublic Health
Example Decision TreesExample Decision Trees
Creating a Decision TreeCreating a Decision Tree
Decision Trees consist of nodes and Decision Trees consist of nodes and branchesbranches
Typically three types of nodes:Typically three types of nodes:1.1. Decision node that represents the decision to Decision node that represents the decision to
be made be made Branches extending out from these decision nodes are Branches extending out from these decision nodes are
alternativesalternatives
2.2. Chance nodeChance node Branches extending out from these chance nodes have some Branches extending out from these chance nodes have some
degree of uncertainty about their likelihood of occurrencedegree of uncertainty about their likelihood of occurrence
3. 3. End nodeEnd node
Creating a Decision TreeCreating a Decision Tree
All possible alternatives are mapped out All possible alternatives are mapped out as paths within the decision treeas paths within the decision tree
Probabilities, based on past experience or Probabilities, based on past experience or an educated guess, are identified along an educated guess, are identified along each of these pathseach of these paths
Value of outcome is placed at end of each Value of outcome is placed at end of each branchbranch
Examining a Decision TreeExamining a Decision Tree
How to Make the Right DecisionHow to Make the Right Decision
Add up the values associated with each Add up the values associated with each branchbranch
Path with highest value is the optimal Path with highest value is the optimal decisiondecision
But Always Remember…But Always Remember…
Although a decision tree can help you Although a decision tree can help you make optimal choices for you to reach a make optimal choices for you to reach a particular goal, you must still weigh in particular goal, you must still weigh in common sense and consider others’ common sense and consider others’ opinionsopinions
ReferencesReferences http://en.wikipedia.org/wiki/Decision_treehttp://en.wikipedia.org/wiki/Decision_tree http://www.bookrags.com/research/decision-tree-wcs/http://www.bookrags.com/research/decision-tree-wcs/ http://www.wired.com/magazine/2010/01/ff_decisiontree/4/http://www.wired.com/magazine/2010/01/ff_decisiontree/4/ http://www.zdnetasia.com/i/techguide/decision%20tree.bmphttp://www.zdnetasia.com/i/techguide/decision%20tree.bmp http://www.inc.com/articles/2003/04/25423.htmlhttp://www.inc.com/articles/2003/04/25423.html http://www.cnq.ca/Storage.asp?StorageID=88802&SiteLanguageID=1http://www.cnq.ca/Storage.asp?StorageID=88802&SiteLanguageID=1 http://infotechusa.files.wordpress.com/2009/10/economics.jpghttp://infotechusa.files.wordpress.com/2009/10/economics.jpg http://health.vctx.org/HealthDepartment%5Ccaduceus.gifhttp://health.vctx.org/HealthDepartment%5Ccaduceus.gif http://transitionwestmarin.files.wordpress.com/2009/04/economics.jpghttp://transitionwestmarin.files.wordpress.com/2009/04/economics.jpg http://www.rensco.com/images/publichealth.jpghttp://www.rensco.com/images/publichealth.jpg http://faculty.msb.edu/prog/Cmrc/images/Inernational%20Business.jpghttp://faculty.msb.edu/prog/Cmrc/images/Inernational%20Business.jpg http://en.wikipedia.org/wiki/Decision_treehttp://en.wikipedia.org/wiki/Decision_tree http://urie.files.wordpress.com/2009/05/examine.jpghttp://urie.files.wordpress.com/2009/05/examine.jpg http://www.managers-net.com/decision2.jpghttp://www.managers-net.com/decision2.jpg http://gautam.lis.illinois.edu/monkmiddleware/public/analytics/decision_tree.pnghttp://gautam.lis.illinois.edu/monkmiddleware/public/analytics/decision_tree.png http://users.informatik.uni-halle.de/~jopsi/dinf204/decision_tree.gifhttp://users.informatik.uni-halle.de/~jopsi/dinf204/decision_tree.gif http://www.smallstock.info/tools/disease-nutrition/6358-decision-tree-B.gifhttp://www.smallstock.info/tools/disease-nutrition/6358-decision-tree-B.gif