![哈工大機器學(xué)習(xí)歷年考試_第1頁](http://file4.renrendoc.com/view/5028f6bc5a38eceb8390cb3f2de3c900/5028f6bc5a38eceb8390cb3f2de3c9001.gif)
![哈工大機器學(xué)習(xí)歷年考試_第2頁](http://file4.renrendoc.com/view/5028f6bc5a38eceb8390cb3f2de3c900/5028f6bc5a38eceb8390cb3f2de3c9002.gif)
![哈工大機器學(xué)習(xí)歷年考試_第3頁](http://file4.renrendoc.com/view/5028f6bc5a38eceb8390cb3f2de3c900/5028f6bc5a38eceb8390cb3f2de3c9003.gif)
![哈工大機器學(xué)習(xí)歷年考試_第4頁](http://file4.renrendoc.com/view/5028f6bc5a38eceb8390cb3f2de3c900/5028f6bc5a38eceb8390cb3f2de3c9004.gif)
下載本文檔
版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請進行舉報或認領(lǐng)
文檔簡介
標(biāo)準文檔1Givethedefinitionsoryourcomprehensionsofthefollowingterms.(12’)1.1TheinductivelearninghypothesisP171.2OverfittingP491.4ConsistentlearnerP1482Givebriefanswerstothefollowingquestions.(15’)2.2Ifthesizeofaversionspaceis|VS|,Ingeneralwhatisthesmallestnumberofqueriesmayberequiredbyaconceptlearnerusingoptimalquerystrategytoperfectlylearnthetargetconcept?P272.3Ingenaral,decisiontreesrepresentadisjunctionofconjunctionsofconstrainsontheattributevaluesofinstanse,thenwhatexpressiondoesthefollowingdecisiontreecorrespondsto?OutLookSunny Overcast RainHumidity Yes WindHigh Normal Strong WeakYes No Yes No3Givetheexplainationtoinductivebias,andlistinductivebiasofCANDIDATE-ELIMINATIONalgorithm,decisiontreelearning(ID3),BACKPROPAGATIONalgorithm.(10’)4 Howtosolveoverfittingindecisiontreeandneuralnetwork?(10 ’)Solution:Decisiontree:及早停止樹增長 (stopgrowingearlier)后修剪法(post-pruning)NeuralNetwork權(quán)值衰減(weightdecay)驗證數(shù)據(jù)集(validationset)實用大全標(biāo)準文檔^5ProvethattheLMSweightupdaterule i i (Vtrain(b) V(b))xiperformsagradientdescenttominimizethesquarederror.Inparticular,definethesquarederrorEasinthetext.Now^calculatethederivativeofEwithrespecttotheweight i,assumingthatV(b)isalinearfunctionasdefinedinthetext.GradientdescentisachievedbyupdatingeachweightinproportionEto .Therefore,youmustshowthattheLMStrainingrulealtersweightsinthisproportioni^foreachtrainingexampleitencounters.( E (Vtrain(b) V(b))2) (8’)b,Vtrain(b) trainingexampleSolution:AsVtrain(b)?V(Successor(b))wecangetE=(Vtrain(b)?2V(b))?w0+w1x1+w2x2+w3x3+w4x4+w5x5+w6x6V(b)E/wi2(Vtrain(b)?(b)?V(b))g(VtrainV(b))/wi=2(Vtrain(b)?V(b))gxiAsmentionedinLMS:
ii?(Vtrain(b)V(b))xiWecanget i i ( E/wi)/2Therefore,gradientdescentisachievementbyupdatingeachweightinproportionto E/ wi;LMSrulesaltersweightsinthisproportionforeachtrainingexampleitencounters.6Trueorfalse:ifdecisiontreeD2isanelaborationoftreeD1,thenD1ismore-general-thanD2.AssumeD1andD2aredecisiontreesrepresentingarbitrarybooleanfuncions,andthatD2isanelaborationofD1ifID3couldextendD1toD2.Iftruegiveaproof;iffalse,acounterexample.(Definition:Lethjandhkbeboolean-valuedfunctionsdefinedoverX.thenhjismore_general_than_or_equal_tohk(writtenhjghk)Ifandonlyif(xX)[(hk(x)1)(hj(x)1)]thenhjhk(hjghk)(hkghj))(10’)實用大全標(biāo)準文檔Thehypothesisisfalse.OnecounterexampleisAXORBwhileifA!=B,trainingexamplesareallpositive,whileifA==B,trainingexamplesareallnegative,then,usingID3toextendD1,thenewtreeD2willbeequivalenttoD1,i.e.,D2isequaltoD1.7Designatwo-input perceptronthatimplements thebooleanfunction A B.Designatwo-layernetworkofperceptronsthatimplements AXORB.(10’)8Supposethatahypothesisspacecontainingthreehypotheses,h1,h2,h3,andtheposteriorprobabilitiesofthesetypothesesgiventhetrainingdataare0.4,0.3and0.3respectively.Andifanewinstancex isencountered,which isclassifiedpositiveby h1,butnegativebyh2andh3,thengivetheresultanddetailclassificationcourseofBayesoptimalclassifier.(10 ’)P1259SupposeSisacollectionoftraining-exampledaysdescribedbyattributesincludingHumidity,whichcanhavethevaluesHighorNormal.AssumeSisacollectioncontaining10examples,[7+,3-].Ofthese10examples,suppose3ofthepositiveand2ofthenegativeexampleshaveHumidity=High,andtheremainderhaveHumidity=Normal.Pleasecalculatetheinformationgainduetosortingtheoriginal10examplesbytheattributeHumidity.(log21=0,log22=1,log23=1.58,log24=2,log25=2.32,log26=2.58,log27=2.8,log28=3,log29=3.16,log210=3.32,)(5’)HumidityS:[7+,3-]High Normal[3+,2-] [4+,1-]Solution:7733(a)HerewedenoteS=[7+,3-],thenEntropy([7+,3-])=10log21010log210=0.886;(b)Gain(S,Humidity)=Entropy(S)-SvEntropy(Sv)Gain(S,a2)vvalues(Humidityi)SQValues(Humidity)={High,Normal}SHigh{sS|Humidity()}sHigh實用大全標(biāo)準文檔3322Entropy(SHigh)=-5log25-5log250.972,SHigh5=4Entropy(SNormal4log2411)=--log20.72,SNormal=55555ThusGain(S,Humidity)=0.886-(50.9725*0.72)=0.04101010Finishthefollowingalgorithm.(10’)(1)GRADIENT-DESCENT(trainingexamples,)Eachtrainingexampleisapairoftheform
r rx,t ,where xisthevectorofinputvalues,andtisthetargetoutputvalue. isthelearningrate(e.g.,0.05).Initializeeach i tosomesmallrandomvalueUntiltheterminationconditionismet,DoInitializeeach
tozero.rForeach x,t intraining_examples,DorInputtheinstance xtotheunitandcomputetheoutputoForeachlinearunitweight i,DoForeachlinearunitweight i,Doi i i(2)
溫馨提示
- 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請下載最新的WinRAR軟件解壓。
- 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
- 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內(nèi)容里面會有圖紙預(yù)覽,若沒有圖紙預(yù)覽就沒有圖紙。
- 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
- 5. 人人文庫網(wǎng)僅提供信息存儲空間,僅對用戶上傳內(nèi)容的表現(xiàn)方式做保護處理,對用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對任何下載內(nèi)容負責(zé)。
- 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請與我們聯(lián)系,我們立即糾正。
- 7. 本站不保證下載資源的準確性、安全性和完整性, 同時也不承擔(dān)用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。
最新文檔
- 2025年裝卸機械項目立項申請報告模式
- 2025年上海高級商場物業(yè)管理續(xù)簽合同協(xié)議
- 2025年膠片型相機、CCD相機、紅外相機、恒星相機項目規(guī)劃申請報告模板
- 2025年勞動合同法續(xù)約條件規(guī)定
- 優(yōu)化農(nóng)業(yè)產(chǎn)業(yè)供應(yīng)鏈的合同范例2025年
- 2025年設(shè)備租賃展示合同范本
- 2025年公共交通廣告安裝服務(wù)協(xié)議
- 2025年上海技術(shù)顧問合同
- 2025年建筑項目材料采購申請及供銷協(xié)議
- 2025年二手房產(chǎn)交易定金給付合同協(xié)議樣本
- 教師師德專題培訓(xùn)
- 2024年湖南生物機電職業(yè)技術(shù)學(xué)院高職單招職業(yè)技能測驗歷年參考題庫(頻考版)含答案解析
- 成都市2024-2025學(xué)年度上期期末高一期末語文試卷(含答案)
- 2025年教育局財務(wù)工作計劃
- 教科版四年級下冊科學(xué)科學(xué)教案+教材分析
- 廣東2024年廣東金融學(xué)院招聘工作人員10人筆試歷年典型考點(頻考版試卷)附帶答案詳解
- T-WSJD 18.22-2024 工作場所空氣中化學(xué)因素測定 雙氯甲醚的便攜式氣相色譜-質(zhì)譜法
- 北京市東城區(qū)2023-2024學(xué)年高二下學(xué)期期末英語試題 含解析
- 中國食物成分表2020年權(quán)威完整改進版
- 各施工階段安全管理的重點及安全保證措施
- 2024年金屬非金屬礦山(地下礦山)安全管理人員考試練習(xí)題(100題)附答案
評論
0/150
提交評論