下载本文档
版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
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. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 设计的未来调研
- 乙型病毒性肝炎疫苗接种流程
- 《跨学科实践:制作简易直流电动机》课件
- 公司人力资源部员工入职培训
- 大学职业规划设计指导
- 慢性浅表性胃炎饮食指导手册
- 公司老领导对新入职员工培训
- 重症医学科感染性休克管理教程
- 康乐音乐社团介绍
- 220kv距离保护课程设计
- 2026年液氢储罐液位测量技术应用
- 第11课 少年当自强(课件) 小学道德与法治二年级下册
- (二检)2026年宝鸡市高三高考模拟检测(二)历史试卷
- 《智能土木工程材料》课件 第1、2章 智能土木工程材料概述、形状记忆合金
- 2026年春季学期“凝心聚力冲刺高考”高三年级工作总结:精准备考冲刺理想大学
- 2025年湖南高考语文试题及答案
- 全面同工同酬申请书
- 吊车拆除铁塔专项施工方案(模版)
- 2025年1月浙江省普通高中学业水平考试思想政治试卷(含答案详解)
- DB50∕T 1886-2025 特殊健康状态儿童预防接种服务规范
- 职称英语考试理工类(C级)试题及答案
评论
0/150
提交评论