机器学习平时作.doc

  1. 1、本文档共10页,可阅读全部内容。
  2. 2、有哪些信誉好的足球投注网站(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
  3. 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  4. 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
机器学习平时作

机器学习第二、三章作业 通信工程学院 1301120598 董静 2.3 (题目略) Ans. S0= (φ,φ,φ,φ,φ,φ) v (φ,φ,φ,φ,φ,φ) G0 = (?, ?, ?, ?, ?, ?) v (?, ?, ?, ?, ?, ?) Example 1: Sunny, Warm, Normal, Strong, Warm, Same, Yes S1=(Sunny, Warm, Normal, Strong, Warm, Same) v (φ,φ,φ,φ,φ,φ) G1 = (?, ?, ?, ?, ?, ?) v (?, ?, ?, ?, ?, ?) Example 2: Sunny, Warm, High, Strong, Warm, Same, Yes S2= {(Sunny, Warm, Normal, Strong, Warm, Same) v (Sunny, Warm, High, Strong, Warm, Same), (Sunny, Warm, ?, Strong, Warm, Same) v (φ,φ,φ,φ,φ,φ)} G2 = (?, ?, ?, ?, ?, ?) v (?, ?, ?, ?, ?, ?) Example 3: Rainy, Cold, High, Strong, Warm, Change, No 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)} Example 4: Sunny, Warm, High, Strong, Cool, Change, Yes S4= {(Sunny, Warm, ?, Strong, ?, ?) v (Sunny, 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.5 (题目略) (a). 第一步:S0 {(Q Q Q Q ), (Q Q Q Q)} G0 {(? ? ? ?), (? ? ? ?)} 第二步:S1 {(male brown tall US), (female black short US) G1 {(? ? ? ?), (? ? ? ?)} 第三步:S2 {(male brown ? ?), (female black short US) G2 {(? ? ? ?), (? ? ? ?)} 第四步:S3 {(male brown ? ?), (female black short US) G3 {(male ? ? ?), (? ? ? ?),? ? ? ?,? ? ? US} 第五步:S4 {(male brown ? ?), (female ? short ?) G4 {(male ? ? ?), (? ? ? ?)} (b).假设中的每个属性可以取两个值,所以与题目例题一致的假设数目为: (2*2*2*2)*(2*2*2*2) = 256 (c). 这个最短序列应该为8, 如果只有一个训练样例,则假设空间有个假设,我们针对每一个属性来设置训练样例,使每次的假设空间减半。则经过8次训练后,可收敛到单个正确的假设。 female,blanck,short,Portuguese,female,blonde,tall,Indian ma

文档评论(0)

quechui388620 + 关注
实名认证
内容提供者

该用户很懒,什么也没介绍

1亿VIP精品文档

相关文档