下载本文档
版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
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. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 四川省凉山彝族自治州昭觉县2027届数学六年级第一学期期末综合测试模拟试题含解析
- 注册环保工程师基础考试怎么复习更高效?备考用什么题库好
- 导游个人工作总结报告
- 阜新市清河门区2027届数学四上期末达标检测试题含解析
- 外墙工程新型材料施工措施
- 《医养结合机构服务质量规范》
- 2026年中国划船练习器市场调查研究报告
- 门窗工程冬期施工方案-技术交底
- 学生食堂食品安全风险管控、周排查、月调度工作制度
- 2026年医院急诊科护理工作计划
- 内江市2026年社会工作服务岗位人员招募考试备考题库及答案详解
- 2026年医院卫生监督所监督员高频面试题包含详细解答
- 护理人员中医技术使用手册专业版
- 现代供应链管理实务高职全套教学课件
- 建筑材料与检测说课
- 中耕植保机械课件
- 病理科建设与管理指南
- 2023年福建省妇幼保健院招聘工作人员(共500题)笔试必备质量检测、历年高频考点模拟试题含答案解析
- 500静压混凝土预制桩钢桩施工记录
- GB/T 41619-2022科学技术研究项目评价实施指南基础研究项目
- GB/T 19638.2-2005固定型阀控密封式铅酸蓄电池
评论
0/150
提交评论