




版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請(qǐng)進(jìn)行舉報(bào)或認(rèn)領(lǐng)
文檔簡(jiǎn)介
用R實(shí)現(xiàn)隨機(jī)森林的分類與回歸第五屆中國(guó)R語言會(huì)議北京2012李欣海用R實(shí)現(xiàn)隨機(jī)森林的分類與回歸ApplicationsofRandomForestusingRClassificationandRegression李欣海中科院動(dòng)物所郵件:lixh@//O>.主頁:////.博客:////.微博:////?第五屆中國(guó)R語言會(huì)議北京2012李欣海隨機(jī)森林簡(jiǎn)介RandomForest////.an-introduction-to-data-mining-for-marketing-and-business-intelligence/RandomForestisanensembleclassifierthatconsistsofmanydecisiontreesItoutputstheclassthatisthemodeoftheclass'soutputbyindividualtreesBreiman2001Itdealswith“smallnlargep”-problems,high-orderinteractions,correlatedpredictorvariables.Breiman,L.2001.Randomforests.MachineLearning45:5-32.Beingcited6500timesuntil20123/25第五屆中國(guó)R語言會(huì)議北京2012李欣海隨機(jī)森林簡(jiǎn)介History////.an-introduction-to-data-mining-for-marketing-and-business-intelligence/ThealgorithmforinducingarandomforestwasdevelopedbyLeoBreiman2001andAdeleCutler,and"RandomForests"istheirtrademarkThetermcamefromrandomdecisionforeststhatwasfirstproposedbyTinKamHoofBellLabsin1995ThemethodcombinesBreiman's"bagging"ideaandtherandomselectionoffeatures,introducedindependentlybyHo1995andAmitandGeman1997inordertoconstructacollectionofdecisiontreeswithcontrolledvariation.4/25第五屆中國(guó)R語言會(huì)議北京2012李欣海隨機(jī)森林簡(jiǎn)介TreemodelsyB+Bx+Bx+Bx+£i011i22i33iiClassificationtreeRegressiontreeCrawley2007TheRBookp691Crawley2007TheRBookp6945/25第五屆中國(guó)R語言會(huì)議北京2012李欣海隨機(jī)森林簡(jiǎn)介Thestatisticalcommunityusesirrelevanttheory,questionableconclusions?DavidR.CoxEmanuelParzenBruceHoadleyBradEfronNOYES6/25第五屆中國(guó)R語言會(huì)議北京2012李欣海隨機(jī)森林簡(jiǎn)介Ensembleclassifiers////.Treemodelsaresimple,oftenproducenoisybushyorweakstuntedclassifiersBaggingBreiman,1996:Fitmanylargetreestobootstrap-resampledversionsofthetrainingdata,andclassifybymajorityvoteBoostingFreund&Shapire,1996:Fitmanylargeorsmalltreestoreweightedversionsofthetrainingdata.ClassifybyweightedmajorityvoteRandomForestsBreiman1999:Fancierversionofbagging.IngeneralBoostingRandomForestsBaggingSingleTreeTrevorHastie.7/25第五屆中國(guó)R語言會(huì)議北京2012李欣海隨機(jī)森林簡(jiǎn)介HowRandomForestWorks////.Ateachtreesplit,arandomsampleofmfeaturesisdrawn,andonlythosemfeaturesareconsideredforsplittingTypicallymsqrtporlogp,wherepisthenumberoffeaturesForeachtreegrownonabootstrapsample,theerrorrateforobservationsleftoutofthebootstrapsampleismonitored.Thisiscalledtheout-of-bagOOBerrorrateRandomforeststriestoimproveonbaggingby“decorrelating”thetrees.Eachtreehasthesameexpectation.TrevorHastie,p21inTrees,Bagging,RandomForestsandBoosting8/25第五屆中國(guó)R語言會(huì)議北京2012李欣海隨機(jī)森林簡(jiǎn)介RPackagesrandomForestrandomForestTitle:BreimanandCutler'srandomforestsforclassificationandregressionVersion:4.6-6Date:2012-01-06Author:FortranoriginalbyLeoBreimanandAdeleCutler,RportbyAndyLiawandMatthewWiener.ImplementationbasedonCARTtreesforvariablesofdifferenttypes.Biasedinfavorofcontinuousvariablesandvariableswithmanycategories.partycforestBasedonunbiasedconditionalinferencetrees.Forvariablesofdifferenttypes:unbiasedwhensubsampling.黃河渭河9/25第五屆中國(guó)R語言會(huì)議北京2012李欣海隨機(jī)森林:分類TOC\o"1-5"\h\z# # # # ############ ### # # # # # # ### # # ## ## ## # ### # # # # ############ #### # # # # # # ## # # ## ## ## # ##### # # # ############ ### # # # # # # ### # # ## ## ## # ### # # # # ############ #### # # # # # # ## # # ## ## ## # ##### # # # ############ ### # # # # # # ### # # ## ## ## # ### # # # # ############ #### # # # # # # ## # # ## ## ## # ##### # # # ############ ### # # # # # # ### # # ## ## ## # ########################################################################################TOC\o"1-5"\h\z# # # # ############ ### # # ## ## ### ## ## #### # # # # ############ #### # # ## ## ## ## ## ###### # # # ############ ### # # ## ## ### ## ## #### # # # # ############ #### # # ## ## ## ## ## #####寧夏#########################################################################青海TOC\o"1-5"\h\z# # # # ############ ### # # ## ## ### ## ## #### # # # # ############ #### # # ## ## ## ## ## ###### # # # ############ ### # # ## ## ### ## ## #### # # # # ############ #### # # ## ## ## ## ## #####朱?的分布################################################################################################################################山西#########################################################################TOC\o"1-5"\h\z# # # # ############ ### # # # # # # ### # # ## #### # # # # ############ #### # # # # # # ## # # ## ###### # # # ############ ### # # # # # # ### # # ## #### # # # # ############ #### # # # # # # ## # # ## ###### # # # ############ ### # # # # # # ### # # ## #### # # # # ############ #### # # # # # # ## # # ## ###### # # # ############ ### # # # # # # ### # # ## #### # # # # ############ #### # # # # # # ## # # ## ###########################################TOC\o"1-5"\h\z# # # # ############ ### # # ## ## ### ## ## #### # ### # # # # ############ #### # # ## ## ## ## ## #### # ##### # # # ############ ### # # ## ## ### ## ## #### # ### # # # # ############ #### # # ## ## ## ## ## #### # ##### # # # ############ ### # # ## ## ### ## ## #### # ### # # # # ############ #### # # ## ## ## ## ## #### # ##### # # # ############ ### # # ## ## ### ## ## #### # ### # # # # ############ #### # # ## ## ## ## ## #### # ####################################################################################甘肅############################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################陜西############################################################################################################河南#TOC\o"1-5"\h\z# # # # ############ ### # # ## ## ### ## ## #### # # # # ############ #### # # ## ## ## ## ## ###### # # # ############ ### # # ## ## ### ## ## #### # # # # ############ #### # # ## ## ## ## ## ###################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################
################################################################################## ############ #### # # # # # # ## # # ## #### ############ ### # # # # # # ### # # ## #### ############ #### # # # # # # ## # # ## #### ############ ### # # # # # # ### # # ## #### ############ #### # # # # # # ## # # ## #### ############ ### # # # # # # ### # # ## #### ############ #### # # # # # # ## # # ## #### ############ ### # # # # # # ### # # ## #### ############ #### # # # # # # ## # # ## #### ############ ### # # # # # # ### # # ## #### ############ #### # # # # # # ## # # ## #########################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################四川##############################################################
############################################################################湖北#########################################################################TOC\o"1-5"\h\z# # # # ############ ### # # ## ## ### ## ## #### # # # # ############ #### # # ## ## ## ## ## ###### # # # ############ ### # # ## ## ### ## ## #### # # # # ############ #### # # ## ## ## ## ## ###### # # # ############ ### # # ## ## ### ## ## #### # # # # ############ #### # # ## ## ## ## ## ###### # # # ############ ### # # ## ## ### ## ## #################################################################TOC\o"1-5"\h\z# # # # ############ ### # # ## ## ### ## ## #### # ### # # # # ############ #### # # ## ## ## ## ## #### # ##### # # # ############ ### # # ## ## ### ## ## #### # ### # # # # ############ #### # # ## ## ## ## ## #### # ####重慶#################################################################################TOC\o"1-5"\h\z# # # # ############ ### # # ## ## ### ## ## #### # ### # # # # ############ #### # # ## ## ## ## ## #### # ##### # # # ############ ### # # ## ## ### ## ## #### # ### # # # # ############ #### # # ## ## ## ## ## #### # ##### # # # ######### ### ### # # ## ## ### ######### ### # # # # ######### #### #### # # ## ## ## ########## ### # # # ######### ### ### # # ## ## ### ######### ####湖南湖南黃河漢江岷江嘉陵江10/25第五屆中國(guó)R語言會(huì)議北京2012李欣海隨機(jī)森林:分類DataLandFootprec_prec_prec_NestusexyElevAspectSlopePopGDPt_annt_jant_julyyearcoverprintannjanjulysite1107.50533.3929840.6729.62142.0202.95845615312.40.324.0金家河1107.54833.40913150.9019.01422.5261.97869615711.3-0.61981姚家溝1107.50533.3929840.6729.62142.0202.95845615312.40.324.0金家河1107.54833.40913150.9019.01422.5261.97869615711.3-0.61982姚家溝1107.50533.3929840.6729.62142.0202.95845615312.40.324.0金家河1107.54833.40913150.9019.01422.5261.97869615711.3-0.61983姚家溝1107.54833.40913150.9019.01422.5261.97869615711.3-0.61984姚家溝1107.40533.40610560.5411.4210.0200.98892716111.4-0.522.91984三岔河1107.40533.40610560.5411.4210.0200.98892716111.4-0.522.91985三岔河1107.54833.40913150.9019.01422.5261.97869615711.3-0.61985姚家溝0107.40032.7809800.4642.11145.8141.78927617013.01.324.003030107.43032.78015530.9729.614171.8324.76887516213.01.324.003040107.46032.78015340.5125.71412.7141.78886516214.02.1525.203050107.49032.7809960.7229.41476.1202.97886516212.40.823.403060107.52032.78011440.169.31429.3201.78956617512.40.823.403070107.58032.7809300.1335.722153.2294.76993718111.60.1522.503090107.61032.7808730.4031.91166.4292.97931617112.71.123.803100107.64032.78011470.5035.51146.8202.381041718912.71.103110107.67032.78016990.8921.11420.5201.781060819210.4-0.821.20312tableibis$useibis$use-as.factoribis$useibis$landcover-as.factoribis$landcover01253856011/25第五屆中國(guó)R語言會(huì)議北京2012李欣海隨機(jī)森林:分類MulticollinearityisapainVariablesinthetwo-principal-componentspace-50050306530643018biplotprincompibis[,2:16],corT301729713063306230602970306130582923296929243016y3057305930153056301430133055301230103011296829632966296730093005287729222965
溫馨提示
- 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請(qǐng)下載最新的WinRAR軟件解壓。
- 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請(qǐng)聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
- 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內(nèi)容里面會(huì)有圖紙預(yù)覽,若沒有圖紙預(yù)覽就沒有圖紙。
- 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
- 5. 人人文庫網(wǎng)僅提供信息存儲(chǔ)空間,僅對(duì)用戶上傳內(nèi)容的表現(xiàn)方式做保護(hù)處理,對(duì)用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對(duì)任何下載內(nèi)容負(fù)責(zé)。
- 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請(qǐng)與我們聯(lián)系,我們立即糾正。
- 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時(shí)也不承擔(dān)用戶因使用這些下載資源對(duì)自己和他人造成任何形式的傷害或損失。
最新文檔
- 二零二五年度羊群代放牧與綠色食品生產(chǎn)協(xié)議
- 普通高等學(xué)校就業(yè)協(xié)議書(2025年度)-金融服務(wù)業(yè)人才輸送協(xié)議
- 二零二五年度事業(yè)單位聘用合同崗位職責(zé)細(xì)化與職業(yè)發(fā)展規(guī)劃
- 2025年度順豐快遞員工作績(jī)效考核及反饋合同
- 二零二五年度環(huán)保工程項(xiàng)目保證金合同
- 學(xué)生會(huì)部長(zhǎng)發(fā)言稿
- 物業(yè)管理服務(wù)合同
- 叉車租賃服務(wù)合同
- 2024-2025學(xué)年陜西省咸陽市禮泉縣高三上學(xué)期期中考試地理試題(解析版)
- 《高中英語語法規(guī)則與實(shí)際應(yīng)用教案》
- 《全科醫(yī)學(xué)概論》課件-以家庭為單位的健康照顧
- 醫(yī)院窗簾、隔簾采購 投標(biāo)方案(技術(shù)方案)
- 控制計(jì)劃課件教材-2024年
- 自來水廠安全施工組織設(shè)計(jì)
- 川教版2024-2025學(xué)年六年級(jí)下冊(cè)信息技術(shù)全冊(cè)教案
- 《無人機(jī)測(cè)繪技術(shù)》項(xiàng)目1任務(wù)3無人機(jī)測(cè)繪基礎(chǔ)知識(shí)
- 招標(biāo)代理機(jī)構(gòu)遴選投標(biāo)方案(技術(shù)標(biāo))
- 彩鋼瓦雨棚施工技術(shù)標(biāo)準(zhǔn)方案
- 2024年新疆(兵團(tuán))公務(wù)員考試《行測(cè)》真題及答案解析
- KTV商務(wù)禮儀培訓(xùn)
- 三級(jí)安全教育試題(公司級(jí)、部門級(jí)、班組級(jí))
評(píng)論
0/150
提交評(píng)論