r for additive model

r for additive model

ID:40960735

大小:1.64 MB

页数:16页

时间:2019-08-12

r for additive model_第1页
r for additive model_第2页
r for additive model_第3页
r for additive model_第4页
r for additive model_第5页
资源描述:

《r for additive model》由会员上传分享,免费在线阅读,更多相关内容在学术论文-天天文库

1、AdditiveModels36-350,DataMining,Fall20092November2009Readings:PrinciplesofDataMining,pp.393{395;Berk,ch.2.Contents1PartialResidualsandBack ttingforLinearModels12AdditiveModels33TheCurseofDimensionality44Example:CaliforniaHousePricesRevisited71PartialRes

2、idualsandBack ttingforLinearModelsThegeneralformofalinearregressionmodelishiXpEYjX~=~x=0+~~x=jxj(1)j=0whereforj21:p,thexjarethecomponentsof~x,andx0isalwaystheconstant1.(Addinga ctitiousconstantfeature"likethisisastandardwayofhandlingtheinterceptjustli

3、keanyotherregressioncoecient.)Supposewedon'tconditiononallofX~butjustonecomponentofit,sayXk.WhatistheconditionalexpectationofY?E[YjXk=xk]=E[E[YjX1;X2;:::Xk;:::Xp]jXk=xk](2)23Xp=E4jXjjXk=xk5(3)j=023X=kxk+E4jXjjXk=xk5(4)j6=k1wherethe rstlineusesthelawoft

4、otalexpectation1,andthesecondlineusesEq.1.Turnedaround,23Xkxk=E[YjXk=xk]E4jXjjXk=xk5(5)j6=k2013X=E4Y@jXjAjXk=xk5(6)j6=kTheexpressionintheexpectationisthekthpartialresidual

5、the(total)residualisthedi erencebetweenYanditsexpectation,thepartialresidualist

6、hedi erencebetweenYandwhatweexpectittobeignoringthecontributionfromX.Let'sintroduceasymbolforthis,sayY(k).khix=EY(k)jX=x(7)kkkkInwords,iftheover-allmodelislinear,thenthepartialresidualsarelinear.AndnoticethatXkistheonlyinputfeatureappearinghere

7、ifwecoul

8、dsomehowgetholdofthepartialresiduals,thenwecan ndkbydoingasimpleregression,ratherthanamultipleregression.Ofcoursetogetthepartialresidualweneedtoknowalltheotherjs...Thissuggeststhefollowingestimationschemeforlinearmodels,knownastheGauss-Seidelalgorithm,o

9、rmorecommonlyandtransparentlyasback- tting;thepseudo-codeisinExample1.Thisisaniterativeapproximationalgorithm.Initially,welookathowfareachpointisfromtheglobalmean,anddosimpleregressionsofthosedeviationsontheinputfeatures.Thisthengivesusabetterideaofwhat

10、theregressionsurfacereallyis,andweusethedeviationsfromthatsurfaceinournextsetofsimpleregressions.Ateachstep,eachcoecientisadjustedto tinwithwhatwealreadyknowabouttheothercoecients

11、that'swhyit'scalledback tting".Itisnotobvious2

当前文档最多预览五页,下载文档查看全文

此文档下载收益归作者所有

当前文档最多预览五页,下载文档查看全文
温馨提示:
1. 部分包含数学公式或PPT动画的文件,查看预览时可能会显示错乱或异常,文件下载后无此问题,请放心下载。
2. 本文档由用户上传,版权归属用户,天天文库负责整理代发布。如果您对本文档版权有争议请及时联系客服。
3. 下载前请仔细阅读文档内容,确认文档内容符合您的需求后进行下载,若出现内容与标题不符可向本站投诉处理。
4. 下载文档时可能由于网络波动等原因无法下载或下载错误,付费完成后未能成功下载的用户请联系客服处理。