电子文档交易市场
安卓APP | ios版本
电子文档交易市场
安卓APP | ios版本

机器学习第二章答案2

3页
  • 卖家[上传人]:p****杀
  • 文档编号:253510383
  • 上传时间:2022-02-13
  • 文档格式:PDF
  • 文档大小:17.51KB
  • / 3 举报 版权申诉 马上下载
  • 文本预览
  • 下载提示
  • 常见问题
    • 1、11.1. Give three computer applications for which machine learning approaches seem appropriate and three for which they seem inappropriate. Pick applications that are not already mentioned in this chapter, and include a one-sentence justification for each. Ans. Machine learning: Face recognition, handwritten recognition, credit card approval. Not machine learning: calculate payroll, execute a query to database, use WORD. 2.1. Explain why the size of the hypothesis space in the EnjoySport learning

      2、 task is 973. How would the number of possible instances and possible hypotheses increase with the addition of the attribute WaterCurrent, which can take on the values Light, Moderate, or Strong? More generally, how does the number of possible instances and hypotheses grow with the addition of a new attribute A that takes on k possible values? Ans. Since all occurrence of “ ” for an attribute of the hypothesis results in a hypothesis which does not accept any instance, all these hypotheses are e

      3、qual to that one where attribute is “ ”. So the number of hypothesis is 4*3*3*3*3*3 +1 = 973. With the addition attribute Watercurrent, the number of instances = 3*2*2*2*2*2*3 = 288, the number of hypothesis = 4*3*3*3*3*3*4 +1 = 3889. Generally, the number of hypothesis = 4*3*3*3*3*3*(k+1)+1. 2.3. Consider again the EnjoySport learning task and the hypothesis space H described in Section 2.2. Let us define a new hypothesis space H that consists of all pairwise disjunctions of the hypotheses in H

      4、. For example, a typical hypothesis in H is (?, Cold, High, ?, ?, ?) v (Sunny, ?, High, ?, ?, Same) Trace the CANDIDATE-ELIMINATATION algorithm for the hypothesis space H given the sequence of training examples from Table 2.1 (i.e., show the sequence of S and G boundary sets.) Ans. S0= (, , ) v (, , )G0 = (?, ?, ?, ?, ?, ?) v (?, ?, ?, ?, ?, ?) Example 1: S1=(Sunny, Warm, Normal, Strong, Warm, Same)v (, , )G1 = (?, ?, ?, ?, ?, ?) v (?, ?, ?, ?, ?, ?) Example 2: S2= (Sunny, Warm, Normal, Strong,

      5、Warm, Same)v (Sunny, Warm, High, Strong, Warm, Same),(Sunny, Warm, ?, Strong, Warm, Same) v ( , , , , , ) G2 = (?, ?, ?, ?, ?, ?) v (?, ?, ?, ?, ?, ?) Example 3: S3=(Sunny, Warm, Normal, Strong, Warm, Same)v (Sunny, Warm, High, Strong, Warm, Same),(Sunny, Warm, ?, Strong, Warm, Same) v ( , , , , , ) G3 = (Sunny, ?, ?, ?, ?, ?) v (?, Warm, ?, ?, ?, ?), (Sunny, ?, ?, ?, ?, ?) v (?, ?, ?, ?, ?, Same ), (?, Warm, ?, ?, ?, ?) v (?, ?, ?, ?, ?, Same )2Example 4: S4= (Sunny, Warm, ?, Strong, ?, ?) v (S

      6、unny, Warm, High, Strong, Warm, Same) ,(Sunny, Warm, Normal, Strong, Warm, Same) v (Sunny, Warm, High, Strong, ?, ?) ,(Sunny, Warm, ?, Strong, ?, ?) v (, , ),(Sunny, Warm, ?, Strong, Warm, Same)v (Sunny, Warm, High, Strong, Cool, Change)G4 = (Sunny, ?, ?, ?, ?, ?) v (?, Warm, ?, ?, ?, ?), (Sunny, ?, ?, ?, ?, ?) v (?, ?, ?, ?, ?, Same ), (?, Warm, ?, ?, ?, ?) v (?, ?, ?, ?, ?, Same )2.4. Consider the instance space consisting of integer points in the x, y plane and the set of hypotheses H consist

      7、ing of rectangles. More precisely, hypotheses are of the form a x b, c yd, where a, b, c, and d can be any integers. (a) Consider the version space with respect to the set of positive (+) and negative (-) training examples shown below. What is the S boundary of the version space in this case? Write out the hypotheses and draw them in on the diagram. (b) What is the G boundary of this version space? Write out the hypotheses and draw them in. (c) Suppose the learner may now suggest a new x, y inst

      8、ance and ask the trainer for its classification. Suggest a query guaranteed to reduce the size of the version space, regardless of how the trainer classifies it. Suggest one that will not. (d) Now assume you are a teacher, attempting to teach a particular target concept (e.g., 3 x 5, 2 y 9). What is the smallest number of training examples you can provide so that the CANDIDATE-ELIMINATION algorithm will perfectly learn the target concept? Ans. (a) S= (4,6,3,5) (b) G=(3,8,2,7) (c) e.g., (7,6), (5

      9、,4) (d) 4 points: (3,2,+), (5,9,+), (2,1,-),(6,10,-) 2.6. Complete the proof of the version space representation theorem (Theorem 2.1). Proof: Every member of VSH,D satisfies the right-hand side of expression. Let h be an arbitrary member of VSH,D, then h is consistent with all training examples in D. Assuming h does not satisfy the right-hand side of the expression, it means ? (?s S)?(g G)(g h s) = ? (?s S)?(g G) (g h) (h s). Hence, there does not exist g from G so that g is more general or equ

      10、al to h or there does not exist s from S so that h is more general or equal to s. If the former holds , it leads to an inconsistence according to the definition of G. If the later holds, it 3leads to an inconsistence according to the definition of S. Therefore, h satisfies the right-hand side of the expression. (Notes: since we assume the expression is not fulfilled, this can be only be if S or G is empty, which can only be in the case of any inconsistent training examples, such as noise or the

      《机器学习第二章答案2》由会员p****杀分享,可在线阅读,更多相关《机器学习第二章答案2》请在金锄头文库上搜索。

      点击阅读更多内容
    最新标签
    监控施工 信息化课堂中的合作学习结业作业七年级语文 发车时刻表 长途客运 入党志愿书填写模板精品 庆祝建党101周年多体裁诗歌朗诵素材汇编10篇唯一微庆祝 智能家居系统本科论文 心得感悟 雁楠中学 20230513224122 2022 公安主题党日 部编版四年级第三单元综合性学习课件 机关事务中心2022年全面依法治区工作总结及来年工作安排 入党积极分子自我推荐 世界水日ppt 关于构建更高水平的全民健身公共服务体系的意见 空气单元分析 哈里德课件 2022年乡村振兴驻村工作计划 空气教材分析 五年级下册科学教材分析 退役军人事务局季度工作总结 集装箱房合同 2021年财务报表 2022年继续教育公需课 2022年公需课 2022年日历每月一张 名词性从句在写作中的应用 局域网技术与局域网组建 施工网格 薪资体系 运维实施方案 硫酸安全技术 柔韧训练 既有居住建筑节能改造技术规程 建筑工地疫情防控 大型工程技术风险 磷酸二氢钾 2022年小学三年级语文下册教学总结例文 少儿美术-小花 2022年环保倡议书模板六篇 2022年监理辞职报告精选 2022年畅想未来记叙文精品 企业信息化建设与管理课程实验指导书范本 草房子读后感-第1篇 小数乘整数教学PPT课件人教版五年级数学上册 2022年教师个人工作计划范本-工作计划 国学小名士经典诵读电视大赛观后感诵读经典传承美德 医疗质量管理制度 2
     
    收藏店铺
    关于金锄头网 - 版权申诉 - 免责声明 - 诚邀英才 - 联系我们
    手机版 | 川公网安备 51140202000112号 | 经营许可证(蜀ICP备13022795号)
    ©2008-2016 by Sichuan Goldhoe Inc. All Rights Reserved.