欢迎来到麦多课文档分享! | 帮助中心 海量文档,免费浏览,给你所需,享你所想!
麦多课文档分享
全部分类
  • 标准规范>
  • 教学课件>
  • 考试资料>
  • 办公文档>
  • 学术论文>
  • 行业资料>
  • 易语言源码>
  • ImageVerifierCode 换一换
    首页 麦多课文档分享 > 资源分类 > PPT文档下载
    分享到微信 分享到微博 分享到QQ空间

    How to construct a decision tree.ppt

    • 资源ID:376420       资源大小:753KB        全文页数:20页
    • 资源格式: PPT        下载积分:2000积分
    快捷下载 游客一键下载
    账号登录下载
    微信登录下载
    二维码
    微信扫一扫登录
    下载资源需要2000积分(如需开发票,请勿充值!)
    邮箱/手机:
    温馨提示:
    如需开发票,请勿充值!快捷下载时,用户名和密码都是您填写的邮箱或者手机号,方便查询和重复下载(系统自动生成)。
    如需开发票,请勿充值!如填写123,账号就是123,密码也是123。
    支付方式: 支付宝扫码支付    微信扫码支付   
    验证码:   换一换

    加入VIP,交流精品资源
     
    账号:
    密码:
    验证码:   换一换
      忘记密码?
        
    友情提示
    2、PDF文件下载后,可能会被浏览器默认打开,此种情况可以点击浏览器菜单,保存网页到桌面,就可以正常下载了。
    3、本站不支持迅雷下载,请使用电脑自带的IE浏览器,或者360浏览器、谷歌浏览器下载即可。
    4、本站资源下载后的文档和图纸-无水印,预览文档经过压缩,下载后原文更清晰。
    5、试题试卷类文档,如果标题没有明确说明有答案则都视为没有答案,请知晓。

    How to construct a decision tree.ppt

    1、How to construct a decision tree,List each decision nodes & its alternatives. List each chances nodes& its alternatives. Draw the nodes and links. Add costs & probabilities along links Calculate utilities for utility (leftmost) nodes Calculate expected utilities,Example,You need to decide whether to

    2、 do a fancy project or a mundane project. Either project can succeed or fail. There is a 10% chance of success for the fancy project, and 80% chance of success for the mundane project. The fancy project costs 1M$ to execute, and if it succeeds, you get 11M$. If you lose, you get nothing. The mundane

    3、 project costs 0.5M$ to execute, and you get 1.5M$ if it succeeds. If it fails, you get nothing. Which project should you do?,1. List each decision nodes & its alternatives.,Which project? Fancy Mundane,You need to decide whether to do a fancy project or a mundane project. Either project can succeed

    4、 or fail. There is a 10% chance of success for the fancy project, and 80% chance of success for the mundane project. The fancy project costs 1M$ to execute, and if it succeeds, you get 11M$. If you lose, you get nothing. The mundane project costs 0.5M$ to execute, and you get 1.5M$ if it succeeds. I

    5、f it fails, you get nothing. Which project should you do?,2. List each chance nodes & its alternatives.,Outcome? Success Failure,You need to decide whether to do a fancy project or a mundane project. Either project can succeed or fail. There is a 10% chance of success for the fancy project, and 80%

    6、chance of success for the mundane project. The fancy project costs 1M$ to execute, and if it succeeds, you get 11M$. If you lose, you get nothing. The mundane project costs 0.5M$ to execute, and you get 1.5M$ if it succeeds. If it fails, you get nothing. Which project should you do?,3. Draw nodes as

    7、 tree,Project?,Fancy,Mundane,Success,Success,Failure,Failure,Decision nodes are square,Chance nodes are oval,Utility nodes are like diamonds,You need to decide whether to do a fancy project or a mundane project. Either project can succeed or fail. There is a 10% chance of success for the fancy proje

    8、ct, and 80% chance of success for the mundane project. The fancy project costs 1M$ to execute, and if it succeeds, you get 11M$. If you lose, you get nothing. The mundane project costs 0.5M$ to execute, and you get 1.5M$ if it succeeds. If it fails, you get nothing. Which project should you do?,4. A

    9、dd costs and probabilities to links,Project?,Fancy cost 1M$,Mundane cost 0.5M$,Successp=0.1,Success p=0.8,Failure p=0.2,Failure p= 0.9,You need to decide whether to do a fancy project or a mundane project. Either project can succeed or fail. There is a 10% chance of success for the fancy project, an

    10、d 80% chance of success for the mundane project. The fancy project costs 1M$ to execute, and if it succeeds, you get 11M$. If you lose, you get nothing. The mundane project costs 0.5M$ to execute, and you get 1.5M$ if it succeeds. If it fails, you get nothing. Which project should you do?,5. Calcula

    11、te utility values for utility nodes,Project?,Fancy cost 1M$,Mundane cost 0.5M$,Successp=0.1,Success p=0.8,Failure p=0.2,Failure p= 0.9,Benefit: 0 Cost: 0.5M$,You need to decide whether to do a fancy project or a mundane project. Either project can succeed or fail. There is a 10% chance of success fo

    12、r the fancy project, and 80% chance of success for the mundane project. The fancy project costs 1M$ to execute, and if it succeeds, you get 11M$. If you lose, you get nothing. The mundane project costs 0.5M$ to execute, and you get 1.5M$ if it succeeds. If it fails, you get nothing. Which project sh

    13、ould you do?,Benefit: 11M$ Cost: 1M$,6. Calculate expected utilities, moving leftward,Project?,Fancy cost 1M$,Mundane cost 0.5M$,Successp=0.1,Success p=0.8,Failure p=0.2,Failure p= 0.9,You need to decide whether to do a fancy project or a mundane project. Either project can succeed or fail. There is

    14、 a 10% chance of success for the fancy project, and 80% chance of success for the mundane project. The fancy project costs 1M$ to execute, and if it succeeds, you get 11M$. If you lose, you get nothing. The mundane project costs 0.5M$ to execute, and you get 1.5M$ if it succeeds. If it fails, you ge

    15、t nothing. Which project should you do?,EU = 0.1*10=1.0,EU = 0.9*(-1)=-0.9,EU = 0.8*1=0.8,EU = 0.2*(-0.5)=-0.1,6. Calculate expected utilities moving leftward,Project?,Fancy cost 1M$,Mundane cost 0.5M$,Successp=0.1,Success p=0.8,Failure p=0.2,Failure p= 0.9,You need to decide whether to do a fancy p

    16、roject or a mundane project. Either project can succeed or fail. There is a 10% chance of success for the fancy project, and 80% chance of success for the mundane project. The fancy project costs 1M$ to execute, and if it succeeds, you get 11M$. If you lose, you get nothing. The mundane project cost

    17、s 0.5M$ to execute, and you get 1.5M$ if it succeeds. If it fails, you get nothing. Which project should you do?,EU = 0.1*10=1.0,EU = 0.9*(-1)=-0.9,EU = 0.8*1=0.8,EU = 0.2*(-0.5)=-0.1,EU = 1.0-0.9= 0.1,EU = 0.8-0.1=0.7,6. Calculate expected utilities moving leftward,Project?,Fancy cost 1M$,Mundane c

    18、ost 0.5M$,Successp=0.1,Success p=0.8,Failure p=0.2,Failure p= 0.9,You need to decide whether to do a fancy project or a mundane project. Either project can succeed or fail. There is a 10% chance of success for the fancy project, and 80% chance of success for the mundane project. The fancy project co

    19、sts 1M$ to execute, and if it succeeds, you get 11M$. If you lose, you get nothing. The mundane project costs 0.5M$ to execute, and you get 1.5M$ if it succeeds. If it fails, you get nothing. Which project should you do?,EU = 0.1*10=1.0,EU = 0.9*(-1)=-0.9,EU = 0.8*1=0.8,EU = 0.2*(-0.5)=-0.1,EU = 1.0

    20、-0.9= 0.1,EU = 0.8-0.1=0.7,Best choice,A more complex example,Your show dog has cancer. If you do nothing, there is a 90% chance she will die. If she has surgery, there is a 40% chance of curing the cancer, 10% chance of dying from the surgery, and a 50% chance that the cancer will survive, in which

    21、 case, she has the usual 90% chance of dying. If she gets chemo, there is a 20% chance of curing the cancer, and an 80% that the cancer will remain, in which surgery can be performed, with the same risks and outcomes as mentioned above. Chemo cannot be done after surgery, by the way. The dog is wort

    22、h 900K$ if she is alive, and nothing if she is dead. Surgery costs $10K and chemo costs 4K$. What should you do?,1. List each decision nodes & its alternatives.,Which treatment? surgery chemo Nothing After chemo fails, which treatment? surgery nothing,Your show dog has cancer. If you do nothing, the

    23、re is a 90% chance she will die. If she has surgery, there is a 40% chance of curing the cancer, 10% chance of dying from the surgery, and a 50% chance that the cancer will survive, in which case, she has the usual 90% chance of dying. If she gets chemo, there is a 20% chance of curing the cancer, a

    24、nd an 80% that the cancer will remain, in which surgery can be performed, with the same risks and outcomes as mentioned above. Chemo cannot be done after surgery, by the way. The dog is worth 900K$ if she is alive, and nothing if she is dead. Surgery costs $10K and chemo costs 4K$. What should you d

    25、o?,2. List each chance nodes & its alternatives.,Outcome? Cancer cured Died due to surgery (only for surgery node) Cancer not cured,Your show dog has cancer. If you do nothing, there is a 90% chance she will die. If she has surgery, there is a 40% chance of curing the cancer, 10% chance of dying fro

    26、m the surgery, and a 50% chance that the cancer will survive, in which case, she has the usual 90% chance of dying. If she gets chemo, there is a 20% chance of curing the cancer, and an 80% that the cancer will remain, in which surgery can be performed, with the same risks and outcomes as mentioned

    27、above. Chemo cannot be done after surgery, by the way. The dog is worth 900K$ if she is alive, and nothing if she is dead. Surgery costs $10K and chemo costs 4K$. What should you do?,3. Draw nodes,Treatment?,Surgery,chemo,Cured,Cured ?,Uncured,Surgery kills,Your show dog has cancer. If you do nothin

    28、g, there is a 90% chance she will die. If she has surgery, there is a 40% chance of curing the cancer, 10% chance of dying from the surgery, and a 50% chance that the cancer will survive, in which case, she has the usual 90% chance of dying. If she gets chemo, there is a 20% chance of curing the can

    29、cer, and an 80% that the cancer will remain, in which surgery can be performed, with the same risks and outcomes as mentioned above. Chemo cannot be done after surgery, by the way. The dog is worth 900K$ if she is alive, and nothing if she is dead. Surgery costs $10K and chemo costs 4K$. What should

    30、 you do?,Nothing cost 0$,uncured,Die,Live,Die,Live,Die,Live,Treatment?,Surgery,Nothing,4. Add costs & probabilities,Treatment?,Surgery cost 10K$,chemo cost 4K$,Cured p=0.4,Cured p=0.2,Uncured p=0.8,Surgery kills p= 0.1,Your show dog has cancer. If you do nothing, there is a 90% chance she will die.

    31、If she has surgery, there is a 40% chance of curing the cancer, 10% chance of dying from the surgery, and a 50% chance that the cancer will survive, in which case, she has the usual 90% chance of dying. If she gets chemo, there is a 20% chance of curing the cancer, and an 80% that the cancer will re

    32、main, in which surgery can be performed, with the same risks and outcomes as mentioned above. Chemo cannot be done after surgery, by the way. The dog is worth 900K$ if she is alive, and nothing if she is dead. Surgery costs $10K and chemo costs 4K$. What should you do?,Nothing cost 0$,uncured p=0.5,

    33、Die p=0.9,Live p=0.1,Die p=0.9,Live p=0.1,Die p=0.9,Live p=0.1,Treatment?,Surgery cost 10K$,Nothing,5. Calculate utility values for utility nodes,Treatment?,Surgery cost 10K$,chemo cost 4K$,Cured p=0.4,Cured p=0.2,Uncured p=0.8,Surgery kills p= 0.1,Your show dog has cancer. If you do nothing, there

    34、is a 90% chance she will die. If she has surgery, there is a 40% chance of curing the cancer, 10% chance of dying from the surgery, and a 50% chance that the cancer will survive, in which case, she has the usual 90% chance of dying. If she gets chemo, there is a 20% chance of curing the cancer, and

    35、an 80% that the cancer will remain, in which surgery can be performed, with the same risks and outcomes as mentioned above. Chemo cannot be done after surgery, by the way. The dog is worth 900K$ if she is alive, and nothing if she is dead. Surgery costs $10K and chemo costs 4K$. What should you do?,

    36、Nothing cost 0$,uncured p=0.5,Die p=0.9,Live p=0.1,Die p=0.9,Live p=0.1,Die p=0.9,Live p=0.1,Treatment?,Surgery cost 10K$,Nothing,6. Calculate expected utilities,Treatment?,Surgery cost 10K$ EU=444,chemo cost 4K$ EU=619.2,Cured p=0.4 EU=365,Cured p=0.2 EU=179.2,Uncured p=0.8 EU=440,Surgery kills p=

    37、0.1 EU=-1,Your show dog has cancer. If you do nothing, there is a 90% chance she will die. If she has surgery, there is a 40% chance of curing the cancer, 10% chance of dying from the surgery, and a 50% chance that the cancer will survive, in which case, she has the usual 90% chance of dying. If she

    38、 gets chemo, there is a 20% chance of curing the cancer, and an 80% that the cancer will remain, in which surgery can be performed, with the same risks and outcomes as mentioned above. Chemo cannot be done after surgery, by the way. The dog is worth 900K$ if she is alive, and nothing if she is dead.

    39、 Surgery costs $10K and chemo costs 4K$. What should you do?,Nothing cost 0$ EU=90,uncured p=0.5 EU=80,Die p=0.9 EU= -9,Live p=0.1 EU=89,Die p=0.9 EU=0,Live p=0.1 EU=90,Die p=0.9 EU=-3.6,Live p=0.1 EU=89.6,Treatment?,Surgery cost 10K$ EU=440,Nothing EU=86,My disk drive is flakey. Tech says that ther

    40、e is a 10% chance it will crash in the next week, and replacing the disk and data will cost me $200. If I replace the disk, it will cost me $70 and it will not crash. If I save its contents to DVD, reformat and restore it, then it costs me 4 hours (equivalent to $40) but reduces the chance of crashi

    41、ng to 3%.,Save, reformat, restore?,No,Yes,Yes p=0.03,Yes p=0.1,No p=0.9,No p= 0.97,Replace disk?,Yes,No,EU = 0.03*(-240)+0.97*(-40) = -46,EU = 0.10*(-200)+0.90*(0) = -20,EU = -70,Quiz question,You will be drilling a water well in your backyard, and you have to decide where to dig it. If you just dig

    42、 where you think it is best, there is a 40% chance youll hit water. If you hire a seismologist, the chances increase to 60% but it costs you 10K$. If you hire a water witch, the chance of hitting water is 50% and the cost is 1K$. If you get 50K$ for hitting water, what should you do Draw the decisio

    43、n tree Evaluate alternatives Indicate best choice Put your name on the paper and hand it in.,You will be drilling a water well in your backyard, and you have to decide where to dig it. If you just dig where you think it is best, there is a 40% chance youll hit water. If you hire a seismologist, the

    44、chances increase to 60% but it costs you 10K$. If you hire a water witch, the chance of hitting water is 50% and the cost is 1K$. If you get 50K$ for hitting water, what should you do?,Seismologist Cost 10K EU=20,Nothing Cost 0$ EU=20,Yes p=0.4 EU=20,Yes p=0.6 EU=24,No p=0.4 EU=-4,No p= 0.5 EU=-0.5,Detector?,Water witch cost 1K$ EU=24,No p= 0.6 EU=0,Yes p=0.5 EU=24.5,


    注意事项

    本文(How to construct a decision tree.ppt)为本站会员(孙刚)主动上传,麦多课文档分享仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。 若此文所含内容侵犯了您的版权或隐私,请立即通知麦多课文档分享(点击联系客服),我们立即给予删除!




    关于我们 - 网站声明 - 网站地图 - 资源地图 - 友情链接 - 网站客服 - 联系我们

    copyright@ 2008-2019 麦多课文库(www.mydoc123.com)网站版权所有
    备案/许可证编号:苏ICP备17064731号-1 

    收起
    展开