付費下載
下載本文檔
版權說明:本文檔由用戶提供并上傳,收益歸屬內容提供方,若內容存在侵權,請進行舉報或認領
文檔簡介
標準文檔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權值衰減(weightdecay)驗證數(shù)據(jù)集(validationset)實用大全標準文檔^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’)實用大全標準文檔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實用大全標準文檔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)系上傳者。文件的所有權益歸上傳用戶所有。
- 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內容里面會有圖紙預覽,若沒有圖紙預覽就沒有圖紙。
- 4. 未經(jīng)權益所有人同意不得將文件中的內容挪作商業(yè)或盈利用途。
- 5. 人人文庫網(wǎng)僅提供信息存儲空間,僅對用戶上傳內容的表現(xiàn)方式做保護處理,對用戶上傳分享的文檔內容本身不做任何修改或編輯,并不能對任何下載內容負責。
- 6. 下載文件中如有侵權或不適當內容,請與我們聯(lián)系,我們立即糾正。
- 7. 本站不保證下載資源的準確性、安全性和完整性, 同時也不承擔用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。
最新文檔
- 2026 年中職安全技術管理(安全基礎常識)試題及答案
- 貴州2025年貴州交通職業(yè)技術學院大學專任教師招聘80人筆試歷年參考題庫附帶答案詳解
- 菏澤2025年山東菏澤學院招聘高層次人才3人(第四批)筆試歷年參考題庫附帶答案詳解
- 2025至2030中國微生物肥料應用效果與市場推廣策略研究報告
- 濰坊2025年山東濰坊市寒亭區(qū)人民醫(yī)院招聘衛(wèi)生專業(yè)技術人員20人筆試歷年參考題庫附帶答案詳解
- 湖南湖南科技職業(yè)學院2025年招聘高層次人才筆試歷年參考題庫附帶答案詳解
- 2025-2030中國球墨鑄鐵市場運行態(tài)勢與投資風險分析研究報告
- 濟寧2025年山東濟寧梁山縣事業(yè)單位招聘退役運動員(教育類)筆試歷年參考題庫附帶答案詳解
- 杭州2025年浙江杭州市上城區(qū)編外特定崗位專項崗位工作人員招聘29人筆試歷年參考題庫附帶答案詳解
- 北京2025年北京清華長庚醫(yī)院優(yōu)培招聘應屆生筆試歷年參考題庫附帶答案詳解
- 2025年四川公務員面試真題及答案
- 安裝吊扇施工方案
- 分紅、年金、萬能保險測試題附答案
- GB/T 46456.3-2025信息技術設備互連智能家居互聯(lián)互通第3部分:局域互聯(lián)通用要求
- 家具拆單操作標準及流程指南
- 國家基層高血壓防治管理指南 2025版圖文解讀
- 機器人工程技術人員筆試試題及答案
- GB/T 18344-2025汽車維護、檢測、診斷技術規(guī)范
- crm系統(tǒng)使用管理辦法
- 肝癌晚期護理常規(guī)課件
- 神經(jīng)外科VTE的預防及護理
評論
0/150
提交評論