![统计学习[TheElementsofStatisticalLearning]第二章习题_第1页](http://file4.renrendoc.com/view/f19da78f5f30e09c850ea2b86fc053ea/f19da78f5f30e09c850ea2b86fc053ea1.gif)
![统计学习[TheElementsofStatisticalLearning]第二章习题_第2页](http://file4.renrendoc.com/view/f19da78f5f30e09c850ea2b86fc053ea/f19da78f5f30e09c850ea2b86fc053ea2.gif)
![统计学习[TheElementsofStatisticalLearning]第二章习题_第3页](http://file4.renrendoc.com/view/f19da78f5f30e09c850ea2b86fc053ea/f19da78f5f30e09c850ea2b86fc053ea3.gif)
![统计学习[TheElementsofStatisticalLearning]第二章习题_第4页](http://file4.renrendoc.com/view/f19da78f5f30e09c850ea2b86fc053ea/f19da78f5f30e09c850ea2b86fc053ea4.gif)
![统计学习[TheElementsofStatisticalLearning]第二章习题_第5页](http://file4.renrendoc.com/view/f19da78f5f30e09c850ea2b86fc053ea/f19da78f5f30e09c850ea2b86fc053ea5.gif)
下载本文档
版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
1、 # TheElementofStatisticalLearningChapter2 HYPERLINK mailto:oxstarS.JTUoxstarS.JTUJcinuciry3?2011Ex.2.1SupposeeachofclasseshasanassociatedtargetwhichisavectorofallzerosexceptnoneintheA:thpositionShowthatclassifyingtothelargestekunentofynmountstochoosingtheclosesttarget,mi】以训,iftheelementsofysumtoone
2、.ProofOurgoalisprovingarginaxfc(?/)=arginin|/人一d|Infact,arginin|一训=nrgmin|t*:-y|2/|如-训ispositiveK=argminZ(如):一y,)2/expandingArt=lK=arginin5?()2一2g除+yi2)kt=iK=argininy(A:)i22(力)皿)/itemyt2doesiftcontainvariablekkt=i=arginin(若(如)/_2g(如)皿)=argininI2=arginax=mgininI1/definitionof=zgmax(呱)/wheni=k、以=1.els
3、e“=0Ex.2.2ShowhowtocomputetheBayesdecisionboundaryforthesimulationexampleinFigure2.5.AnswerThebookshowshowtogeneratethetrainingdtita.ThismodelcontainstwoclasseswhicharelabeledBLUEandORANGEr()(tively.L4kGBLUE,ORANGE,andw(useGtorepresentclasskEachdasarecodedto心viadummyvariables,whereTOC o 1-5 h z“BLUE
4、=(1,0)丁(1)“ORANGE=(,1)丁Firstly10ineaiisinfromabivariateGaussiandistribution丫(“人;1)aregeneratedSoweha-eP(nu|gj=/(nujgl)(3) where1千一(“)2/(2异)(4)Thenforeacliclass100oljservatioiisaregeneratedfollows:foreachobservation,ail(m)iatraiKloinwithprobability1/10ispicked,andthengeneratedaN(mJ:1/5):thusleadingto
5、amixtureofGaussianclustersforeachclassSowehaveP(X=工|(nu),GJ=召/(眄(111小1/5)101P(X=|m皿)=/(z;(mfc)f,I/5)(5)(6)Thevaluesofnuisunknown,soweshouldmarginalizethemout.P(x=xgk)=IP(X=xmk.Qk)P(mkQk)dmkFromeuation(2.23)intextbook,theBayes-optiinal(ixisionbouiKiarycanbecalculateclbythevaluesofxthatsatisfy“P(张ue|X
6、=z)=P(Grange|X=x)(8)Becauseeven-classescontainthesameaniountoftrainingdata,soP(0BLUE)=P(GoRANGE)Baves?formulatollusr畑)P($)(10)Accordingtoequation(8)-(10),wehaveP(X=x|/BLUE)=P(X=r|ORANGE)(11)ThuswocallcalculateBavos-optiinaldecisionboundarybyequation(1)(11)Ex.2.4Theedgeeffectproblemdiscussedoni)age23
7、isnotpeculiartouniformsamplingfromboundeddomainsConsiderinputsdrawnfromasphericalinultinorinaldistributionXAr(0.Ip).Fhesejuareddistancefromanysamplepointtotheoriginhasajtdistributionwithmeanp.Considerapredictionpointr()drawnfromthisdistribution,andleta=o/llollboanassociatedunitvector.LetZi=betheproj
8、ectionofeachofthetrainingpointsonthisdirection.Showthatthec,aredistributedA(0.1)withexpectedsejuareddistancefromtheorigin1.whilethetargetpointhasexpectedscpiareddistancepfromtheoriginHenceforp=10,randomlydrawntestpointisabout3.1standarddeviationsfromtheorigin,whileallthetrainingpointsareonaverageone
9、standarddeviationalongdirectiona.Somostpredictionpointsseethemselvesaslyingonthecxlgeofthetrainingset.ProofzN(ai“)(Xt)jN(0.1),wherej1.2p幻(珀jN(0.町)益=刀雋勺(工小冷)=N(M)/.SciuttreddistiincefromtheoriginE(d0)2)=Var(zi)=1/Thesquareddistancedfromanysamplepointtotheoriginhasadistributionwithmeanp.Pargetpointhas
10、expectedsquarecidistanceE(d)fromtheorigin,andE(J)=p/Thereisarandomlydrawntestpointxtand(xt0)2=dthatVar(zt)=E(以一0)2)=E(d)=p .Forp=10,Std(xt)=/Var(xJ=彳=v/TOa3.1andStd(Ct)=/ar(C|)=1Ex.2.6()nsi(leraregressionproblemwithinputsz,anrloutputsandaparameterizcKlmodeltobefitbyleastsquares.Showthatifthereareobs
11、ervationswithtiedoridenticalvaluesoftlientlielitcanbeobtiiinedfromareducedweightedleastsquaresproblem.MMarginin2(yf7-/tf(xt)2=arginin-2曲小(珀+feM2)t/=1t=arg严工(出,-2N呂严=argmin(疇一2M耐)+Nifs(xi)2/MProofuIftherearcmultipleobservationpairsXi.yit,f=1,.,Arititeachvalueof航,theriskisliinited.(Page32)IVoshouldest
12、imatetheparameters6infebyliiininiizingtheresidualsuin-of-squares,i.e.calculatearginin0“尸,while=arginin牙(扫必-N质2)+N示-2Nfe(Xi)+Nifj=arginin一勿丁(眄)+0i=argming(砺-%(曲)尸0i=argininRSS(0)Inthiscase.thesolutionspasstliroughtheaveragevaluesofthey*ateach4:Sowecanuseleastweightedsquarestoestimatethei)araineters0inbEx.AdditionalDeriveequation(2.17)k22EPE%)=+/(%)_?工/他)+壬hz=iAnswerSupposethedataarisefromamodelY=JX)+J(X)andeareindependentSo(12)E(/(X)=E(/(X)E(f)ErrorsareonlyineandE(若)=0,Var(e)=a2,sowehaveVar(V)=Var(e)=E(e一E(f)2=E(e2),andVar(V)=E(e2)=a2(13
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 2025盐城幼儿师范高等专科学校辅导员考试试题及答案
- 2025年广东省深圳市十五校中考历史二模试卷
- 新生儿正常生理特征及护理要点
- 换牙期卫生与保健
- 2025年游戏设计专业考试题及答案
- 环境科学与生态理论2025年考试试卷及答案
- 网络工程师考试题及答案2025年
- 2025年物流与供应链管理职业能力考核试题及答案
- 2025年网络教育与在线学习考试试卷及答案
- 2025年图书馆学基础知识考试试题及答案
- 2015山东高考英语试题及答案
- GB/T 18964.2-2003塑料抗冲击聚苯乙烯(PS-I)模塑和挤出材料第2部分:试样制备和性能测定
- GA/T 1661-2019法医学关节活动度检验规范
- 他达拉非课件
- 资料交接移交确认单
- 风对起飞和着陆影响及修正和风切变完整版课件
- 大数据时代的互联网信息安全题库
- DL∕T 1776-2017 电力系统用交流滤波电容器技术导则
- 浙江省绍兴市上虞区2021-2022学年六年级下学期期末质量检测英语试题(word版无答案无听力音频和原文)
- 护理体查操作评分标准
- 《交通调查与数据分析》课程教学大纲(本科)
评论
0/150
提交评论