0% found this document useful (0 votes)
604 views144 pages

Machine Learning Notes (All Units Merged)

MACHINE LEARNING
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF or read online on Scribd
0% found this document useful (0 votes)
604 views144 pages

Machine Learning Notes (All Units Merged)

MACHINE LEARNING
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF or read online on Scribd
You are on page 1/ 144
— — ee — UNIT-I / Cadming : . > 4Zeasning is a phenamenon and poocss which has mani- -{estahong o Vanrious aspects. L> heamning paces includes gaining ob new symbolic Knowkeg and development db Cognitive skills howugh instnuchon and porackice 2 Tis also discovery db nees facis and “theories observation and experiment. sachine Leasing -Ihnough > A compules, program is said to dean fowom experience & astih chespect tv Some class o&-4asis T and Performa Measune P, Ie iS porfanmance at “asks in T , 0s measuned by P, improves cublh experience E. —> fon example, a computer porognar hat ans. to play checkers might improve i4s porformanc as Méasuned by is ability to win at tte class dé Jasks invelving Anmough expenience objained eet. we must idenbiy 5 OF asks ; She Mesu- J ancl Vu Soudiee playing checkens games , by Playing games against Ahese Thott -forluaes . The clas: Of & perfomance to be Impaove ck caponence. 1A checkens deanning paablem : See ee => Task T : Playing checkens —> Porfoomnance Mesuoes P: Pera ob games tun agains # Opponents 7 Taarning ExPenence E! playing paacker game against itsclh - eee eee Attanduaniting Srewgmihon deasning problem: Task T + Recognizing and classifying hand waitin words colhin \mages . Porfanmance measure p: Pencend 6 wones clannecty classipieol, Training Expeniene € ° A dadabose & handusnita eond tat given clossificahov). A Roast daniving Jeanning porodlem > a ee “Task Ts Doiwing on pubhe foun -tane Wighuags Using Vision Sensons. Fenbonmance measusu P. Average distance ‘Inaveled bedane an enon Cas judged by human Overseer) . Taonimg Experience €: A Sequence ob images and Aewni commands necanded whi olosenvhing @ human alnivey. Need ob Machine Leaning « oD 1 main goal db aching desing. is to devise deasring algoattnns hat do the dlesoing aubnakeally — eurhout human Gieackod imevension an assistance. 2 Tru Machine Leawning Pomadigm can be viewed os Poopnamming by example. Anothen goal 1s +0 clevelop Computational Models dy human daasining porocess and Perfor computes simulakans. %. tu goal ds machine cleaning is to build Comput systims Vhod can adapt and Lean fnom thers Experve nce @ 4. Machine sLeaasning algonithns can Sigua oul hw to peorfonm —imposrlam “lasks by qenoraditing 40 examples. S° Machine Leaning, provides business insight and imelligenct. Decision Maxens su provided evitn qrveaior insighla int hein onganizakions . 6. Machine Learning algonithms olScaver “tu Nelationshyps belween Wu Vaniables of Syshun foro dinect Samples & Thu Systm, Resons hon using machine Jeasming > a wee '. Some lasks cannlt be debined well, excopt by examples. 2. Relahionships and comnelations can be hiddin lange amounts db dada. ' 3. Human clesignens Bion powduee Machines “Thad do net Wonk as well aS desingd inthe envigonments in which “ing au aso), 4. The amound of tenowledge availabk. about Cerain esks igh} be too Jooige fan enplacit encoding, by humans. S* Enviswnmemts change time 4 tim, 6- New knowledge aloud -lasks i$ consistanily being discovened oy humans. Succatful Applications db Machine Leeming 7 Acoomning to orecognize Spoken wos 2 Acasining ty dowe an autonomous vehicle 3 Leooming ty classify new aslonomical Slauctuaes, 4. écosuning Yo play — cvonld - class backgammon S- Sporn Jonguag. tancenslanding Orsciphnres and examples a thew ivnpluence on Machir heannin 4 i AmMpicial Intelligence 2 Bayesian Methods - Computational complenti dy theory + Conia) Thean ~ Intormation Theany Philosephy Nv rmtanrt vw ~ Psychology and Neunabiology ~ Stak s}icg. Dikberence Between Machine Leanning and Data ining Machine Leaning Data Mining Nin machine Leaning tu [1] Tn Doda Mining tha main | MAIN goat 1s +o Jeanna eal is to discus, new | Model, which canbe used minestng ietunmakion |, | 4 poredict dune events a escovibes The Cuarnen} | TH aneWeed Gale 05 Seam | a a 2) Considered data aS” Secon] 34 Considered dala is. poviaa | door IF 1 uses Sielahvely complex — |s/34 uses simple madel oy | and global models docal paltains. fs} Only hundoes on -thousends — | Huge clada sds, even | 6k examples ina “Training Mhons dk ows dola set a J. To lean om on few Corll delind models ,-thy can be which descowbes thi dada LL uifed ty porediel fulune even | | sets To dind all intresting potions] | Dei ny a 1 Lemming gysie > |>30 a. to illusdnal some dr Aha basic des Sign issues and APRHoaches “lo Machine Learning , del as consider, design a Foegram lo team 4 play checkers, with th goa ob em tring Hin The Gomd checkers -fousnament . > we adapt “the Obvious perfonmana Measune : Thu Percent Bb games WV Gyn this — coamdd ooainment - i! choosing “th “Anaining Eapenien dd |e. Choosing Vu Tonga Funchon. |? Choosing “Ihe Kagoesemahorr fon “She Teoygel -funckon 4. Choosing a Funchon Appnoximakon Algonvcthim 5: Tu Final Design. i Choosing the Trainin ing. | Expoiena > oes |+ ihe Fins} design choice we dace 1s to choose Wu Type | & ‘maining experience -fom Ghich oun gpk vill Leann \-> Thu Type ob ‘lnaining expenience availaole can have a significant | impact on Sucew on failume dd ha Aeannen, L> A Second imporlani aiinibule ob tte ‘lnaining experwenta ss lhe degree to chich thu Jeonnen contools the sequence & tnaning examples . L, p Ahind’ smponiand atdnibule o& athe ‘Anaining cupeniener 15 how cull # drepresenis Ia dissibuhon o- examples which thu final Sy performance PP must be mesuned | onden to complele the desing ch cooing gphem, we musi now choose 1. The cxact type dé Knowledge to be Jeanncol.. i io epresenation fon - his angel enor know) ledge. 2A Leaning Mechan ism a Choosing “Ihe langet Function :. Pe ean * choice is ty delemine enol les ire & knowledge evitl be Ueooned and howd this evill oe use by the Pearfonmance Prrognam. Lr tel us begin with a checkers - playing poognam thad Con general the degal moves foram any koand slat >the program needs only do Leann Now 40 choose thu best Mover Aoom among These egal moves. > This Jecoining tase iS nephesnbative & oO Jorge class d& ask Bon eghich the Jegat moves hot deétine Samu Stench space aou Known as a paioni, but Yon which Me best Seanch Shonkgy 18 not Known, F? tu function Choase Move and uxt noidkon Chooselove : B->11.4o indicate Shad Jhis funchan accepts as input any boand from the set dr dogat hoand ho the Set egal boond Slates B and produas as Oud put | Some move
ONE commen approach is ty ce'bine “The West hypothesis, on Sek db cweights og that which minimizes Ahi Squared evn E bdecen ta Anaining values and Ih values Predicted by tu hypothesis @. lee = Miran) — VC) | ~ MoAbnain(ta) € Anaing examply —> Least Mean Spucnes CLMS) is one such algorithm 5. lhu Final Design ~> Tl Anal design 6b oun checkers Leaomning Systm can be Datunalty deseovbed toy -foug distnes Program moslules Phat represent Mu Cemonal componens in Many earning Syshms. paren New problem ¢ henna i Crevhad gama board) | ——___T_ TiyPothesis CV) ral = Potonmanu ~ ‘ cysteen D (Gorontize > . Solution Anau v1 Training examples Qoms nshing) ( cake > / o. sool design 6h ane checkuns Leaning Pwgnam) i Tu Portyrmana sykm iscIht Module That musi solve The Biv Porfonmana task, i this case playing checkend , by using Wt teorned Aeogd -funchons (sd. > flu coihe axes aS inpid Iu history on dIraa oblhe Jam And produces aS oulpui a Sd dh naining examples o Thu ‘Toorgel Rincon. > ‘the Genenaliscn Jakes aS inpud “he maining examples and Produces an oulpul hypothesis thal is Hs esimal ob “Ihe Teaged -funckon. 7th experiment Genenadan Jaxes as pub Th Cusmert hypothesis and outpuis a new problem fon-thr performance syien to explone. Deloumine Type 65 ERaining Expenience Games Agains} ond Delowminu Represerlakon Ok Leanna Funcho) ‘ineantunction 6 Spe Se eaten Oe acta neuo Delenmine MeL coor Leoorning Algood” Poly nomic Ano lcomplelecl Design Powg ramming Summary a chowes in desiging the checkens deanning Foon Tesues wn Machine Lanning - 4. twhal deaoining alganithms Jy be used 2 2. Now much doaining dada is SciBbicient 2 3. When and how pavion knawledge can qude Ihe Jeanning process 2 4, what is du beat Sloalegy ‘bon choosing a next doraining enpenience 5. What iS dhe best way he oreduce the Jeonning task 4 one on mone funckon approximation paoblems? 6. How can tte Jeanne autmah cally aon iS depoesen- Anton ty ‘impnove iS easing ability 2 Conerph Leoowing £ The gonenal to specife ordering: Hypothesis ‘- LSA hypoihesis is a vechn db consinainis fin each alinitonte 1. Indica by a “9 tha any value i$ acceplable don this Odobuk. 2. Specify a single nequined value fon the alinibule. 3. Indicakion by a BO" Ahod no value is occeplable - b> 3b some insane x Solsfies all Ie constnainis ob hypalhehs h, than h classifies x as a posikve example (hG =1). Ly tru hypothesis that an aAgoniAhin would come UP depends upon! Stu doa and also clepends upon “the oesinickons and bias Anak we have imposed on Tht dada. L» Hypothesis pace 18 Iu Sed ob al The possible egal hypothesis Snduchve Learning hypolwss Fang hypatnes® ~hound ‘lo apporoximali “Vhu angel -funchon aul ovr O sabticwnty Jorge sel ab dnaining examples vill als approximala “Ihe langd -flunckon coell over other unobserved exqmples. ———— ——$_____________— — Concept Leasing Task : = Concep} Leaning is Aeguioing tin ddinihon dba genenal Codeqonry fnom given. Sample positive and rxgakue 4oaining examples db The Caleqoary. I> Concep Leannin can be Seon as a parobler ds Seonchini 4 Ihowugh a poriclebined Space dr pokenkia) hy potheses fori tru ‘hypothesis “thal best -fi'5. Thy loqining exampks. Thy Typothesis space has a general +o specific oneloring ypotness andthe Seanch Gn be Bbicendly ong qni2ed by axing advantage ob a Natunally ‘occasoring Siauclune OVOr “Ine hypethesis space. Ls Fonmal débinakan fon concept tearing & Inbewning 4 boolean-valued finckan from ‘naining examples de ih ‘inpul and auipur . L> Concep! Zeanning involves determining a mapping fnor a Sd A input udoviabled 10.4 Boolean value. Such methods ak Knowy) a5 induchve leanning methods . Ls i funckon can ve found which maps Anaining data To cove} classificakons, Jhud i Gill ass cuank oxll fo unseon dala. This prow iS known as gqenenadiation, example | Sky Trtenp [rity wind | wader | Foocast | ErySpor 1 | Sunny ives | Normal Shang | oom | Same 19 2 | Sumy wut | High Shere Warm | Same a | 2 tain cold | hgh | Shure Ilan | change | No 4 | Sunag | plan | Mygh | SHoi0ng) wan | chang Yo Framplt fon posihve ond Nega [ — fue doaining examples Yoorty “ooige Conceal Enyoy spat ——— A Sdok example day, and ach is descnibed by sin Adinbdy , Tu jase is to lean to poredicl the wilur 0 EryySpoot “fon Osoibule cay , based onthe values 6B 1S aramibute values. L> Ablhough Ahi leaning -lase is +h delomine a hypothesis CH) idenkal 4 th Tediget concep! cover tlu enkaie set dB instana Cx), dhe only iNdinmabon available about ¢ is ik) valu ove | flu Inaining examples. ~ Induchve Aeznning jnrithms can ad best guonantee ‘hak Ira Oulput hypothesis fins dhe Feorget concept oven tha Draining | Gata. 7? Hypotheas oncpoesenlaon Cconsinaits an insiane atibula)) | 1 Aeg valut is acceptable is oupaesenkd by 2. 2. NO valu is acceplabk is depresenid by ZB. (Reef sree onde & ypoinse in anagt Junning: P7 Mang algorithms fon concep! Learning ongantac-Iht Seanch hough ‘Vu hypothess space by Sieyjing on a Gentray ~*v- specif Ondening dy hyperineses . r? 4) taxing oduaniage db “his natunaly occusing siuchunc Over the hypothesis spac, we Can design eanning algosrinm That exhoustively Search even, inginite hypothesis space withoud caplicinly enumenaing every hypathesis. > Conside, “lwo Vypolnesa : hr = CSunny, 2,2, Stang 2,2) Me Csunny, 9 ete. : =) pou) considey, tu Sele “dh instance thal an classified | Pasiue by hr and by me. Because bn. Because “he Impsses fewer consinais an-lhe ingiane , 4 classibies mone | inglancts 0S Pasitive. | - | | | | bin fact, any tnslana be classified pasvhye by WL. Then, ce > One Leasing method iS 40 cleloomine hu moat Sheabie Vyporthesis Thad madches al Ihe ‘naining dade. > Mosu~ Genenal~ than -on~Equas- Relation be 4wo kuolean - is > deb hy and Valued cfunchans détined oven x."thun hi Mosu- Jenenay-han - on. equal-ty hy Ceumain hi zihy). 3% and only 5 any HW is mosu- Jord -than bn Chirhy) 13 @ fs Anue and Mh is fal. we also éay I is. Mosu- Specifre -lhan hi, hy zhe ib Vex vheOdet=> hoord, Tnsiana (0 Hypotheses G1 Ave SSunng, Wann, High, Aron, cool, Samu > Ny= . High, Light wonm,Sam> Ne S| hg 2 > Suppose Whad “Iu -langet hypothesis ‘What we want ul leno dan) classified positive by bt wit) abo say “hod hr is Mowe Jenencs Than hi. insane “Shad Sakisfies ha alse sahetialhy, nd only i hyzhp @ bi nord Find-$ '- Ly tha Key poropearty is Thad fon hypothesis spaces descnibed by Corfunckons ob atinibule constnainis, FIND-S iS Quaarterd “ly cutput Ma Most specific Hypothesis within 4 That is Consistent wilh The Positive “braining examples. siv's final hypothesis will also be consistent with Thi negakuc examples poovided lu Vesrget conapt 38 conained in H ,and Poronded tu dnaining examples ane Connect, b>? Find-S Altosiahm stomts fowm the mast specific hypothesis and gentnalite WH by Considening only positive examples. > This olgasirthm ingnones Neqalive examples. AS long as the hypothesis space contains a hypothesis Shak desenibes the Anue Jonge conapt, and the dnaining dala coniains no EMS 1 iGNaning Negative examples does nt cause Jo any Paoblem. : > FIND-S algonithen finds Th mast Specific hypotnests | Wahi A thal is consistent Wh Thy Pastiive “naming examples. > The Anal yporhesis will also be consigient with Negative | eaampke ie Ane comer ‘Tonget concep) iS H, and dh Ansiring examples ovi€ coomiect- Find-¢ \ ij oe | Gnihalixe h to “Nha Most specifye ‘hyputhesis iw He 2. Fon each Positive Analning inslant % Fon each artinibult consinoi G; in h ib-lu consionint a; is cakshied by 2 The do nething Else deplace a, m h by-thunerd mone gona Consinaln Thad 13 Salishied by a. 3. ouipws hypolhesis h, @ | Pundit] ytind | wlaten | Foneasa aie Nommad Stang Pans | dame High Snong | waen Sam ) ys high | Strong Wasm | change | tao | High Sloan | co0\ r chang | Yes. “wasn cold kept a 1. 1. Snihalie h docthe mast specifue hypothess in H . ho > 26,4, 6, 6.,0> Shep 2°. 2. Fon each pasifive ‘Inaining instance % -Fon each glmibuk Consinant a, inh | Ye-ke Consinaind a, is Sahshred by 4. hun do noth else oeplace a, in h bythe nett mane genonad constnamt3 that is Sahspied by x. | hoib, 0,0, 4,6, a> a 3 So | %1 = < Sunny, Warm, Norma, Slawong, wom, Sar > [heation 4 | hi = 4 Sunny, worm, Norma, Sinong, warm, Samer | Merabon> Mr = [= ZSsunay , warm, £, Strong, eyanm, Samu> [Stevabion 3 | [aaron] [a= < Sunny, warm, 2, Slnony, Sam> i =5 |__| x4 2 fa= lanu> Fai > iS | the) withthe mast speck hypothesis in Hthun considens increasingly pl, Vension Spaces ¢ “thy F A Pa he candidat. - Elimmaton Alganthnn, we — Version spaces : ESCO Dave, Version space 13 a Sed dh all hypotheses Vhak are consislerd Goh the ‘Anawnng examples. SVErsion space denaked VS-H.D with Jespecl to hypothesis space Hand Training examples D, is “Wu Subse db ‘from H consist em with -the ‘Inaining examples in dD. L> A ves “i > kee Space isa hienanchical oepreseniahon & Knowledge Mak enables you to Keep mack d all -the useful indonmalion Supplied bya Sequente ds Iasming examples cuithout snemem be|- ma any d the cxamples. Ls tke veasion space method is a concept cléanning process a¢com plished by managing mullipt. models with in a Version Space | | jLisilahone ok Find-§ _ Pipes ine |S ohce shat abhough FIND-S puts a hypothesis frum Hite might fff the training dala e2ually well. > The Key idea in the Candidat: - Eliminakon algonithin 1S fo Oud pat a deseniphion o& thu Setdt all Hypothesis consist cufth Ih aang examples. | Candidolt - Eliminalion alg onilhm :— didaks ~ Elirnination algonithm computes the Vowten oprac tent [Sie can containing all Card only hase) hypolheses jrom H Thad zu consis} usin an Obseved Sequena db \naining examples: > Debinakion - ead | A hypothesis his p vy and only i} hd | eonsisit Ch.D)= consislet witha sel dr ‘Jnaining examples = ca) fon each example IND (vex, cCad> € DIN O~ C00 a A Nokee We Key ABbenence baween Whis Addinakan di consiskht and OU cane délinaion dh Sahsfes. An example % is said ‘To Saksty Nyprihesis h wen hoget, areqndless db cohethen x 13 Positive on negative example db thy larga concep. However Such an example 1s consisket coith bh depends cathy tangd Concept and W panticulan whelhin hiw= cca. Leinikalize Gtvthe sel ds Manimally genenal hypotheses in # a-Toikalite Sto the sede Manimally specibie hypotheses in A 3. For each Anaining example cy do £1 dis O Pasituc example. *Remove frum G any hypothesis inconsistent with d «Fon each hypothesis. sin S Thak is not consistent with d «Remove s from S / Add do $ a minind Gengralizatuns h ds Such tpas «his Consiskm wiih d and Some member db Gis mone genenal Ahan h. Remove farsm S ang hypotheses thas is Mase gonezal Shun another hypolhesis in 3. Th d i8 a Negative example 6 ee ne 5 any igpotest inconsistem Cl 7 + Fon each hypothesis gm A fal 15 not consistent dati . ve nom A. oe ‘¢ Ae minimal gpecializadsons hak g such a + is consistent ai and Some member oS 'S opecifye i os ee Inypothesis hod is Jess general han athena anethen hypathesis 19 A. TT : : i liming, s. (kbd eoe 3 aie Sof Ge au Sit [AssunngWom, Normal, slong Warm, Samu} Et Se3 comes pondiry Hola mast $prcifye S21 | tesunng, worm, 2, Sirong, plonm, Samu) _| Sohal . G0, Gv Ga". 420, 1 0, 2, Uz Tao ing, cao ples, ‘ on < sunny, Warm, Noamnad , efoong, wwtrvn, Same> , Srjorsporr = 45 2. < Sunny, warm, High, Sinong, awa, samur , Erioysport = Wes - Gardidal élYraken example 3 15]a, Negdiive xa oo: [LES TIRE 22, com, VERA? 27h 8 1 U samy | rane tha G2 boundary 62,507 [_A Exijospant = NB Condidabs Eliminalhion gard qzsunng, Wr, 7, Among, wom, San vy een fh fosttibe i tie gaining exam | $4. {esunng, wonm, 1, loong L174 nee tS 7, Worm, £,2,9, 07 from 5 | Gat [ Lesuna 2 2EEt2 & 3 Be a also be leleled V> C1, 9,2, 5omurh NF aor the v, 5 a sation Fact eased by he Gaodidah, -Cheinakon algorithm Convenge 4 : . pe 4° Toward -the hy Potheses “had Connects describes -thu 4 ONcept , Provided ‘ “toy ary No ennon. Sime ENRONS 1 thy ‘raining examples Some hypothesis in # Nhe St S Tanget Conceps . VVhak coamectly clesexiihes “Hu ie What Training Examples Should thy Jeconen Reauest New 9 ~7 3) general » thy opkmal I a L Tuony Slnakgy for a Concept’ tanner i¢ta | Ameo. insianas Wat ‘ he : | : Sahisty exacly halk Vu hypothesis in thu CUunnent Version spau shen This 18 passible, the vension Spa. US oeduad by halk aith each new camps and connect -Jongut Concept "can -thenefone be found evan Llogs sf] cxpenimenis. 2. Row can Porhally Jeasned Conapis Be Usd 9 ~? Suppose Atiat no additonal Anaining examples au available beyond the foun in oun example absve, tat thak thi Jeannen is now mez ‘to classify new instances that thas rot Ye Olasenved Tnduchve Bias : 5 Considen a concep! Jeaormng algonithey Lan the seh éb-instoncer x. te ¢ be an Gabrnany concept ddbned even X and det De Le char} be an aribiinony Sed ob ‘naining examples ob -o th LOK, Ded denole the classification assigned otu Instance yj by L Abler Inaining on tt dola De. > Th induchve bias db L iS any minimal sddb asserhons % Such Voat ‘hon any tangek Conctph ¢ and Coomasponding ‘maining example De the tollawing fonmula holds . (Yo, € XO LCBADEAM,) F LOK: DET] ‘gan agsumphons nega =7 A Jeosnen thos maxes 1 0 . ae anal Ag dying any G5 Au ongd Concep has rn aakional bosis ¢ oA | unsere wnsdan ti, —————— " | Ng tha idunkhy 7 @ |2Induchve leap : A Jeanne Should be able +s genonalra Anainy | ads Using Poiien agsumphons in onder to classify unsen inslons 7 tlw gengnalation is Know as induckve weap and cu Pion assumphbrs One Ihe inductive bias a th deasnen, ~>Induckwe Gias CPaion assumphon) di candidal Climnahan Alganrtten 1S That the Yapiget concept Gan be onepnesenied hy a Conjunchon dr Gtdovibute values, ‘Yu ange Concept iS Cohtained inthy hypoihesss Space and Tnawing etamples ane Connect Tnductive syste “Training Examples Qandidats Eliminakon classification ob new Algonithm instance oe n't Know" New Instance using Hypothesis space 4 Esuivalint deduchve sym classification, di neva Fngianct 031 don't Know’ Thaining Examples New Instance TReonem Prove, Assention H Contains thu tanget oe _ Snduchue bas made Exell >the Candidati-Eliminakon olgonith tail converge toward hu due Fanget conc.pl fomvidhel HS given accurate training exanples and powvided as initial hypothesis Space contains “tha toil contty) > whok ib the leagel concep! 18 nod contained inthe hypothess spay > Con ce quoid “this obBicelty by using a hypathests space th indudes | tv possible hypothesis? “S How dees liu Siac af This hypothesis space inftunce “Ihe ability 0) | the algonither to generalize “hb cnokseved insanus? 5 Hw des ha site ob the Aypsthesis spat inglunce “the Number ob loaming examples that mus} be chsenued 2 | | oo Lom ExipySpom cramp, we desniched The hypothests space to include on conjunchens ab ahoibule valus. Becaus ob this Srestnichen, Hu hypetnesis Space ts unable ‘to Sepnesent tue) simple disymaive -laaget conuppts Such a5 "Sky =Sunng 47 Sky > cloudy" > Foum fins lwo examples : $2: <7waam, Naomad, Hnong, coo! , Change > L> ths 15 incnsiskat wrt Hisd examples and thene aru 10 hypothesis consistent with these thne example PROBLEM * | we have biased “In Leasnen 40 considen only conyuchve hyportese are Seguisu Mon expressive Hypathess space -TBaampke| sry [Antone] Raddy] wind | tater | Fonecas | Eriby [1 [sunny [warm [ nemeras | strong | cost | chanx | Ya 2 | couty | wom | tormal | Siswng | cooi | change | 3 | Rainy [wane | Normal | Strang Cool | change | NO -> Thy clvious Soluhon otha paoblem 6b assusing that tty tango Concep is in tu hypottesis space 4 iS to pouvide a hypothess Spack Capable de cneporesenting every Aeachable conap}. “Thaee Aeanning Algonithms fasm tuxtakes! Jv Slwnges) bi |. ROTE -LEARNER ~) Leaning Connaspands simply to Shooting each obseaved “Inain crample 1) MuMeay, Subsequent insiances ane classified by Jooking them UP in Mumany. TyHtu insane #S -feand in mumony jth. Shed classification is detusmed . Mhenwis<, she System dus tv classify thi New instance. Inductive Bias: No inductive Bias. 2. CONDIDATE- ELIMINATION : ~> New inskines ane classified ony in-he cose whow aul mmbos 6b i Cunnent Vveonsio spac agoet_o0- callie = See eet on 4 classifi castor Olbeowise, Ahi syske abuses 4 i 7 > classity th new i : Induchve Bias !- s roca athe ‘targel conapl canbe Hepnesented in ils hypothesis space. 3. FIND-S:. > Ths Algonithm » cleseoiibed Conlin, finds The mast specitic hypothe Cons shen with the ‘swining examples. T than uses “tng bypotreps Wo classify ul Subsequent inganag. ok Bras s- The dlanget conczph can be sepnesenied in i? \Pothesis space, and all insionas age negative nslanees unlets hk opposite is emailed by ils other Knewlealge. Ceeeren Toecisun Tre In > Decision daee Leanni is @ method fon approxi making discnefe —valued Aang danckons, in which he Learned funckon 1S Nepnesented by a decision dnec. > canned Ines Can alsa be Sie-poesented as sels sh 1lun gules 4p improve human readability . |? Decision -nees classify ingiances by Sonting hum dawn “the Anec nom tu cect to Some eae Neds, which porovides -thu classificalion ds Ihe insrance. > Each node in the tnee specifyes a test db Some aldnibute ds the insiante and each branch desending doom -that node connespohe do one dj Ahi possible values fon this Qloibule. >) An insianG iS classified by Slanting ab the aot nods o& hu! Aver , esting tiv atovbute specified! by his node, ‘thin. moving down Decision nee methods canbe Used even when some ‘naling Ctamples have unknown values TDS Algonthm - Cauinlan 1986) 1D3 CExamples. “Tange. atinibuler Avimiboules) 1. Coreatr a kool node fon lhe nee 2. Th all Gramples am positive, Reluan Sh Single-node ‘Inet Root, with [ale -+ 3.7% all Examples cou Negative, Retunn thi Singk- Node Inet Rod! , with davle = - 45% Alimibules is emphy, Relunn the Single-Node nee foot, with label = mast common value ak Toorge- OMnibute 1 Examples S. Olneawise Begin + Ac Mu Otnibukt faom Mdoioules that bes C highest Intesmakgy 88M) classifies Examples * The decision adrioute -Jon Root a A ° Fon each Possible value, YW o> AL *Add a new Anee branch below Roo), Cosmnasponding 40 the dest A=V; + Let Examplesy, be “Iu subset ots Examples “that have value | Mi ton A °Ts Examplesy, is Emply e Thun below this new onanch add a Jas node with | dabel = mast commen value dis Tonget_ atoribute | in Examples. Else below This new bnanch add thi insiaes Sublet 103 ( Blampesy,,Tarqul-oltovioute, MManibules {#4) 6 end > Retunn “fool . cats L which A¥nibule elu Best clossifieny 7 } nnn, 7 The Ceninal choice in the 103 algonithm 15 Seleeding which OMnibute to lest ak each Mace inthe dowe. le would dite Ao Selec Mu avdanbule Thad is mast Uselud fan classidying examples. whal is a good wantaive measure éhths worth Ob ON CHU? we wit dékine a Slakshcal pamperdy called indonmahon Gan, That Measures how Wella given ati bule SePerates The draining examples according Awrihein “large classificaion TD3 uses this inbonmakon gain measure 4 Seleet among liu Candida atinitukes at each SKP thik Growing the dou | Mn onden bs dedine inonmaton gain precisely , we begin by) débining O mMeasune commonly used in iMunmadion Aneang | Called entnopy, Anod chanactesizes tu impusrity g an | @Anibal Anbrinany collection d+ examples. Griven a elain 3, Comaining positive and negative examples 6b Somi | anger Concept , Au entowpy db S Sielative 40 this bsolean | Classificahom 15 Errinopy (3) Eninopy ¢5) — Pe log, Pa ~ Ra logr Pe | SZ -P\log ps eel -> Given enbrapy OS G Measune Iu impunity ina Collectiy| ck ‘naming examples, we can now olebine a measune ok thu abeckveness Gh GN orimibule i classifying TaAnaining Addo. The measure Wwe will US, Called intynmatan gain, 15 simply ttu expected dreduckon in endaopy caused by pantdigning dtu eromples acconding do This. Ataibule . Mane paccicely Ata Wharmabion gain, Gain (5.8) Gb an aynibuke A elakve a Collechan ob examples Sis cle as + | __F Grown €5,0)€ Embrey (Eg tp Cin Sed) —— [ alae ta [ouion. [Teno analy [wind LF Di | Sunny Hoa High weak No Dr} sunny Hot High Strong | No © | overcasy | Hot tigh Wak | yes D4 Rain mild High Weak Yes bs | Rain Coo! Nona Wea | Yes D6 | Rain Coo! Noximad Strong | No DF | ovens? cou! Nonmal Strong |. 165 D8 | Sunny nild High ki¢ar | No D4 | Sunny Cool Noma) | Wea | Yes Dio Rain mild Normal Weak re bn Sunny, tild Nonmal SAnong Yes Lom | owns | mild High Stnong | Yes {013 | Overcast Hot Noxmal Weak yes {Ou | Rain hild thigh Hoong | No Training examples fon thu Jooger conapt Play Tennis 77 illusinake, suppose S is a collechsn ob 14 examples o} Some boolean Concept, including 9 Posihve and 5 Nejatve examples He £494, 5-]. then the enowpy ob S relative to ths bookan classificahon iS Entropy Clas, s-J)- (aay lis Cam) - Ghia) loge (Sie) = 0-440 Values Cwind) = Weak, Sfong 32 [445-3 Sweax & (64,23 Sstnong < [3+ ,3-) 1g) Entoogy C54 Gain (5, wind) = Ennopy (OF ae ing bile Entropy C5) — (81a) Eriooyg Seca) — 614) Embers CSshg ) = 0-940 —Gila)w-61) - 61I4)¥ 1-00 = 6-048 $slasq" i: . . $: [44,85 E=0-940 E kine ¥g [iaind —] wr an, Nonmal Wa strong Brad (6414 (ene , = Br 3- E 0.965 E =0-$92 20 i e Gh Gat (S, Hamidthy) Gain (5, wind) : 40 = HII). %S - Bla) 0.542 = 940 - Glia) #0811 -6/ia) € 10 \s1 = 04g : Sain CS, outlook) = 0.246 ain 6S, Humidity) = 0.151 Hoin C$, wind) = 0-048 Gown C$, Tempenatusu) = 0-029, -7 Acconding teh Wlarmabion goin measune Yeu ouiltox aHn'buie Provides -Vru best Predichon ls Thu Fasget CMinibuk, Playtennis Oven AN Anaining examples. ; Hypothesis spa Seanch i) Decision Towe » ee ae ee eee AS with other induchve eanning metheds 103 can be chanacloned) 25 seanching & Space ob hypeihens ton ene thad fy th draining examples. The Nypathess space Stanched by 109 is thud Set ct possible decision loves. 103 perfiwms a Simple. complen. hat Climbing ranch Shanugh ink hypothesis Space beginning wi Ans eopty dou, Than considening pougseasively mene élobanah nypolheses in such oh a decision dou that Cecily lasing | thu dnaming dafa. the evaluahen -funchan -thod guides “this pant climbing Search is Mh infermakan gain meatier. oo x ae he +- 4 a” +-F Ate Re Re hy As . Ag ne ~ 6 - ae | Hypothesis space Seach by 103. TD3 Seanches “Ihowugh tha | spac d possible decision “ets from simplest to increasingly compler , guided by thu infanmakon gain heusiske- r? BY viewing D3 in dooms 6 its Sench spac and Search Sinakgy , wot can get Soma insight ints tS capabilities and Simitakons. \.2D3's hypothesis space dé QU degision ‘bees is a complek spac Bs finite disenele- valued Runchons , Selakve +o Thu quailabl Otinioutes, oe 2.1038 Mainiains only a Singk cunnend Hypotheses as iS Seanchh Ahogugh tu space ds Cecision “Ines. 303 in BS pune Yonm pendénmy no Dackinacking in BS S@anch, 4.303 uss all dnaining examples al cach shy inthe seach to Make stabistically hase! alecisiora 9, eganding how to Hedin its cugnent hypothesis. - +—_ Trduchye : : — Bids I Decision Tore Leasning « > ae : ee | sisesibing hu Inductive bias ab 103 ther fone consisls escnibing Ihe basis by which # changes ont db hese consshnt hypothess ove ath onhens- b> which ob thes decision ‘Inees der 105 chasse? fh 103 Stoakgs a: Selects in -avar db Shandon trees over langen anes. b. Selecls Jou Thad place ths atinibales with bighes? Jnfermahop gan Closis? ty “thu Dood - Compansion between 103 anol Candliclaki ENminahen Alganttt . a [T3205 Alganitnm Candida Elimivakan Aint 1]1D3. seanches a Comple Iypathesiy 1] "iu version spac candidah - Spat Eliminahon Searches an incomp hypedhesis: Spas, 245 hypothesis spam intosducs te [2] 4's Saoch Slnakgy yArodute No addthonal bias no additions bias. TAs induckve bias 1s Solly a — |S] F9_ inductive bias Is solely @ consequent db tu ondening ob Consequina 6b thu expressive hypothesis by 4S Sach stakgy ple Nypotneses oupow- 34 Seondhes space complercly o 4{2\ Geanches Incomplethy 4 es in Desion ToreteLeanning » 1. Avoiding ovenbiing ctw Dada > taaining ennon Can be oeduced by maxing the gpatheses mat Sensitive to Panning cts bid This May lead tr ovenfitbng 10) anol 2002 noua? n

Overftking is hen o classificn 75 hu Anatning lade don Highly Such o classifier wanks well on-thy ‘Tnaining dasa tut nat on dependent -lesd dada. 14 is 9 genera Porsblem -that Plagues als Machine Aeaoming Methods. 1 Because 6 ove iting , tow ermn on ‘Inatning dade andl high eamen on deg dale, 7? Ovorditing occurs whi a madel boegins to mumani2e Aaraining dade aathen Shan ecsining 4v Gemendize from doend, r> ihe mone ddticud a ei Hoven 1S 4 predie tu mosu noix SXSAS IN Past intinmakan tha ned 49 be ignoned. Thu problen is Aelermining which pont to ignone. b> averting generally occuds whut a mode) 1s exctesivds complex, | such as havin ‘tov many parameters selatve tothe number de chgervakons. PP We can deormint whether 9 Predichve model is Undenfating On ovwrfidting thy ‘Jodining daly by Josking o& tu Poedichan €AN0) ont ‘Daining dala and tu walualion dada, Balnad Reasons fon oventul ing I Noisy dade 2. Training sek 1s ‘tov Smal) 3. Longe number oh feature. Methods ts avoid _overbitirgs A Reduad Enver founing = ~7 Pruning a deeisan node consists db Semaving the Subdnee rocky at -Ihak node, maxing Ha leak nade and assigning Ht thu mast commen classficakon ci liu training examples abfiakd cuith that Noolt “7 NodeS Aru Semaved anly Ye the Desulfing pouned |e perdooms "6 danse “than “the asigina) oven the validahon Seb- -? This has -the eBbet that any eak neds added otc coincidina) Sresulannkes jn the braming set 1s Mealy to be pruned becouse these Samu coincidiades ary unditaly ts acca inthe Valichion seh. Rule post Powning . Ware FAT feunin 7 In thu pastpouning , id removes subtres fram a dats grown” tet A Subinec ada given nede is pruned by Sumeving iS bavanches and deplacing it with & ea} . ths ead is Labfed witha mast dnesuent elas, among the Subsnee being ouplaad. 7 Rae pas Rowming invanes Alu daltwing sims: 1. Sinden the deciston dour from Hy Anaining Se, gewwing thi Tee Unk) thx donning chk 49 as ett aF pyssake and allawing Ovenfilting to accu. 2. Gnver the tanned suc ints an esuivalend Setat ovals by cneahng one sult -danr each path -frond-tty Sest rocked Lead Nady| 3. Pour (9eoal%) each sult by Semaving any poedschons Phat Sieult 3 impaoving HS eshmatd Accunaey. 4, Som +r pruned guks by thin eskwated dccanacy, ancl consid) Hum ‘inthis Sequence syhen classy INQ Subseguer (nstanc . - 0 2 Sreonponaing rhs valued. Aone wv Our initial débinition 6b 103 is mesinickd 40 aMoibules that Foxe ona discoele set ob values. 2 Fist jthe ‘Tongt abloviiule chose value is poedicled by Iy Jeained Anee must be discoele valued. 7 Second, WM OMonbuks Jest Inti decision Nodes dk The Aoec Must also be diseaele valued This Secord nesinicton can easily be nemaved go Shab conlinias- Valued decision arimbuks canbe incorporated Ynts deanned dour. & Boraine Messunes fon seletingy Aitidy ~7 ONE WAY 4v avoid This diBhcurty is + Select decision atinibules ased on Same measure othr han Wibornation gar. on allanal seasune hed has been Usd Sucrsfully is the goin orale . 7 fu gain aatio meus penalites aHribudar such as Dati by iNconpeakng ato Called Split iasmahon, Spliintanmabon C509 = ~ 21 is (gy i | => tha gain Fakio measune 8 edn Intoms t-te canhen Gain meatune, as welt at this sobitiesmaken ay fallout Gain C5,AD [srntakon 6) = Si tnwomahon AD 4. Handa. Tnaining Examples with Missing AipiibuX values « ee es a 5 Sin contain Cage , tht available dal, may be missing valu don some ation buks. Fon examplt , 10 a medical domain in which we wish porechel pakiend auecome basil an venous Aabsnatiny 7elts, imag be that tha dab tes? Blood Te} Keult 1s avarlabe only ary the patents. a ee a7 me Ju eftimads Ph missing caavmbUK Valle (ea a based en other examples fan oh) This cédnibule has a Kren Valu . 5 Handling Avorbales with oiddonng Cass, oo) mM same earning thes QMoibuks very significantly in Ane casts both in toms & monetary cos and cost tv patie Comat 2) such dasks , We would paefen decision Anes That Wut ovo ~ COS cAiairdures Wheu fossvbk ,delying a high-cost Adal ouics only when netded 4p Produce deliabk. classifiadien 3. | r— a unt-i 2 Asiificva Neunal Newonk + An Amtficial neural Nelwonk consist 0B uni, Connechons ard weighs . Fnpuds and duedpuls atu Mumesnc. Neunal Ndwont ‘- _. . Neunol Ndwont : > ntuna nelwonx a Sykm Composed a many simple paroussing elenun s openahing in pasallel whose function 18 determined by Newonk Stnuctune , conneckon Soength.and the porocessing pod- onmd al compuking elements on nodes. 7 Neunal nelwonk —Jeooning methads poovick a sobust appeact] to approximating neal -valued , discorele - valued and vechn-valued Aanget funckons . ; +? Fon Cerlain types db pooblems such as Learning te intonpnet Complex seal- wonld sengon dada, aatrficiad neund netwonns cou among Ah most ebdectve Neaning methods cumnently Known - Neunol Nelwonk Lepnesentatign -. Te NN Ree +> A prototypi@l exampl ob ANN slecarning is Provided by Fon Fommrleau's C193) Sys ALVINN CAutonamous land Vehicle ina Neunal Nelwonk). which is used do q Seamed ANN h SHece; an auferomsus vehielt doaving at renmal sperels on fubhe hiphauyr Le tu input a neural Aefoamnk is @ Zoxe2 amido} pinel imensi ties oblained frm a forwcaoel ~ pointed camera maunitd 07 thay vehichs, PT nelwor culpul is -the dinechon in which te vehick ts Heed. the ANN is dnained to minic The absenved Sleesing commands of @ human doviving “I Yehick fan appowamalely S minutes, > ALVINN has Use His leaoined nelwanks 40 succesfully dive at Speeds opt “7a miles pen houn and don alstanas de % anies ON Public highways . Shoop et sAnagh) Ahead : 1 a Shan Right Bo oulput Units 3oxy2 Senson Spur Retina, The ALVINN Sgthen USO Backpropogatign to Jenn te Stet an Ouronomeus vehick daiving ak Speeds upt 70 miles pen hou: +? thi diagnam-on th Aébt shaws how tre image dba torwond - mound camera is mapped 966 neumal network inpub, which oon fed finwand to 4 hidden uni, connecld 40 30 oudpet units . =? Neluonk oulpuls encodt the commanded steening cineckon « fy fiqun on thy Sught Shows cneight values fon oru db: the hiddn unis in Anis Nelwonk. y Ty Zoxar. toeighis inh-Ihu hiddi nibs aru chsplayd to thi Jorge maazia with Wweghh whik blocks indicaking fasihve and black indice negative weighs. @ = > the weights from this hidden unit ty Thu 30 output Unity ru dupickd ‘by Ih smaller sneclangulan block dineclly Absve he Jonge block. As an be San foam These ouipd weights, ackwakon dh this ponkculan hidden unils encaunoges 0 jum Avwond th Jet [> the Gackpnojogahion alganithe is Thy mast commonly ued ANN Aewoning Agchnique. 34 8 appropatali fon powllems cyith x allaang, chapacterishis: ener 1 Tnslanus_omt supnesenied by many artarioule Va PAS: ee eae 6 delingd ovr insianas had can be descaiibed by a vechn db featunes, such as the Prd. values 1 IK ALVIN examplt. jos 0m a veclin GF Several ea) 93 discarele walled aH NU: —> fon example , in tru ALVIN, Sym hx oulpud 1s a Yechy ds 30 attniaks , each coomesponding ra srewmondakion aegading du stewing dineckon 3. Tpaining exomples May geniain exmrens. 3 ANN Jeoning methods ane quilt nobus} 13 Nose In Tht “Anaining doa. 4 long trmining hmes se acaplablt. 7 Nd wonk ‘Anaining algenrthms Aypically nequine Jonge, Anaining times Than, say, decision ‘|net easing Algo. 5 Fag cvaluchon dt denned “eoget Yunchon may be HeqUANed, 3 fivnough Awn Seanning times ane sielabvely Jong, evaluakin 4h Seanned nelwone in ondey to apply i ty O subse quer inslana., is typically very fast - S The ability ly humans to Undersiond “tu Jetrned anger unchin igre! imposvtany . > Thu weights Jeanned by neunal nebwanrs ane abkn difficult fon humans fp inten poet Pen coptorons. HS One “ye dt ANN system 1S based on aunit called 4 Peniepinen > ihe Penepinan isa feed -fonwand nelwonk with one Output Neuzon that leans a sepenaking hyperplane. ina Pattern space. > Th Percepinon Sefenobs tineanly set ok Pattens. >A Poxeplnen Jakes a vechn db aual-valued inpuls, Calculates a Uineas, combination 6& these inpuls , Hu at TARE Sesult is gneoden than gome jhaesheld and =) Chow sc. > Mose pareciselry 1 give inpuls a, Fhoough rn the Oud put Oh, -+-%n) computed by -thu Perception is LV Wap + Wy +WAQ+--- +H ZO 0 Ob, -+-- An) = “1 othowist. cuhene each O32, 18 Q geal-valued constani on weig hd ‘Yhod delenmmines thu combs bution G wPpud % Jo Whe Penceplnen curpul - @ Representational Power dr Powephnons .- > We can view “thi porapinen as orepneserting a hypenplance Aecisin sunfac in ht n-dimensional Spaced insianas tthe Pence ping ourpuis a 4 fon inglances Aying on ont side & ahs hyperplane and owpuis a ~A -bon insianas eying on Ihe othe side. }> The c2uation fon this decision hyper planu is BZ zo. }> Some Set de posthye and negahve examples cant be Seperated by any hypeplant. Those ‘Thad can be Sepernaldd ane called dineanly sepoabk sds ob examples. = + A sea de Amaining example £ ee mining oe The decision sunfau a Porepinon Seperati . Wee nod classifies tum comnectty. DHEA, Are tht pereplnon inpuls. PoSlive examples One indialed by “+” negahive bye A single Peaceplnon Gn be usecl ts Stepnesent mans Boo dunckens . foo etample, ik we Assume Boolean values d& SCoiue) and -4 Pals thm one way to ue o two - input voeplnan To implement tha AND unckon 1s do Sel thy weight. 7b two closes d+ Folens can be sepenaled by a decision boundany , neporeserled by Tht dinca, eruation tun Mey Gow Said to be dineanky Sepenarle. the Simple nelwonk car) comnecity classify ony Fala, > Decision boundony ds Jinganly sepenadle classy can BC Aedormined either bY Some tanning procedures 0” Fy] Solving, Jinean, equakon syslms based on repose adive Patioons db each classes . > Tk such a decison boundary dacs not enish thin the two classes ane Said to be Sineasly inseponable . Lingooly inseponable powblems can't be Salvedl by Th simple nekwonk , mone sophisticakd anchitedune 1S nerelea}. > The Poreplnon Toraining Rule :- — s -7 One way to Jeon an acceptable woeighh vectun is to loegin with anandem tweighis, ud Herdively apply the Pencepinon 4o each 4naining example , modifying he Pencepinon weights whenever it misclagsifies an example. > This proass 1s depeakd , Herod though the Jnaining examples” aS many times as needled unk) The pencepinen classifies al dnaining examples as many ames ag netde until Shu Pencoplno “classifies all maining examples conmectly 4 weghis @u modified ad each skp acconding to He Perce pinon maining out, Which davies Th weight (x associakd wih ‘inpud 1y acconding to ih dult. WEW, +AU whou Aw = VUt-o) x; Here +15 the Jeogel Culp) fon dre cunnend -lnaini example, 0 18 She Oud pul genenakd oy the Pence phrun| and YL 15. Posiive constant called The earning abs - 3. Gaodient Deseent and th Delta Rule - — Altnough the percepinon sulk finds a Suastfel oveight Veet twohen te training examples aru sintooily seponal 34 can fait do caves Convenge 1 The examples ayy not Lintool Seponrable. : i A Second Amaining guile catled tru deta sult, 1S desig ne to overcome this dtBicully, TTB AY Anoining exampks ari nei dingonly sepenable, the deta cule Cnverges ‘word a besi-Qi+ apRnoximakion to The tong concep} . p> The Key idea behind th delda ouule ig to use goadient descent ty Search die typothesis space ok possible weigh vectors to find the weights that best {ih the Anaining examples. 7 Ths Tuk is imPoolanl because gradient descent provid ‘he basis fo the Sack poropogation alganithm , which Con Leonn networks osith Many inlencomected Unis. > 14'S also important because Gradient descent can Serue OSM Dosis fon Leaning algoaithms that must Seanch “Inswugh Hypothesis spaces comdaining MANY Ai ener) Tyres ok conknuously. parameterized hypolheses - > fu delta Amaining cule is best undenstoud by Gnsidening Ane Jos ot Tmaining an untnsvesholded porceplnon, ie. dingon emit Gon whieh ht oulpid a is given by OMB : Thus ,a diner unit connesponds do Ihe isis) stage oba Pencepiasn , ayrthol the ‘Ihaeshold. > In ander to derive @ weight Learning ont -box dineosr lu unt, Jel us begin by spec's wing @ Measuau don “tty Aoaining exnon db a hypothesrs Coerght veclund, oreladive doth Anan examples . : : b> Although ioe ane mony ways to débine This error, Ore common measuae “Mned eit) Tun out to be especially — convenien) 1S nig el S Cd-os)” whane D is In sd ob “lowaining examples, 44 $8 the ‘lenge oul Pud for Anaining exampres d, and cy is th Ourpud G +ru dines unit fon cinaining example a. By Anis debinakion ECG) 1s simply halk Hu S2uared Adberence between te Forge ourpd t4 and tty ey Lav Output Qg summed Over all dnaining exampks, 4a V'sualizing “nu HyPotnesis spac. > 310 understand su gnadient deseem alganithm, i+ 1S helpful ty vigualiae tha entine hypothesis space d); possib) cuerght vectons and then associad € values, Hens the ONES Wo and Cy, Hepsesenl possible values fon thu two cucights dk a simple dtinean uni. thy tos,w, plane thenedan . O r t HepHesens the ening hypothesis space. thu vankod Onis indicates -the emmon E oielahve to Some bined Sa & Anaining exampleg. The comer surface Shown inthe sigue ‘Thus Summey ‘We desinability & evoy cexight vecloy In-Ihe hypcthe Space. > Giver) thy Way in Hridhich we chose to debine €, on Jineas unity this exson Surface Must attuays re parads witha single Global mintenum ©. Denvahion o& tu Gmadient Descent Rule: ee CT Racent Descent Kult, > How Can we Caleulat tre dinection o& Sleepest descent dlong tt. ernon surfoce? THis direction an be found by computing The deivahve d& E with nespect to each comPonunt dhe Ueehn OF. This vecta cenivahve iS @bltal Ane goodie db E with gespet lo B. andkn AGL) Veh) = [9E 2E ze | dw. 5 wn Hp Noe VEC) is sdk aveca, whox comporums cou Faakally enivatives o& E twith nespect to cach ob thi wy. L> wun imopnekd 03 a vect in coeight space, “hu goadient Specifies “ta dineckon that praduas dh Seepest inc ease ine. th negakve drthis vechy bhenefanw gives the disiechs Ob Scopes decocss. 7 Sine the goradhent specifies th dineckon ok slopes} inccreat & Ed ‘Vsaining giuk or qaaclend clescend is Bo vpLaT wheu Als = -Yv EH) eee Now Subsivtuk Equaton @ inh Equation @ yields “Shu weight update sul foo gradient dlescens [ Aur = VS ed-Oa) 7g © Shoehostic Approaimation ty Grdiend descent» meee eee Gradient descent is an important gonna) paradigm -om Jeonning, 3+ iS @ Sinakgy fon Seanchiing “ihsough @ ange @ i. Om imlenbace infinite hypothesis space That Can be apphed Whenever W the hypothesis space contains conkniously Poamelontel Mypotheses and 0) the ean canoe clidboun hated avith oespect to these hypatheséy panamedars. tu Key Prackeod abbiculties “in applying qpodient ant w Convenging toa oad minimum Gn Somehms be quik Sbw and @ ie then one mulkple docal minima int enon Sungace thin thou ig M0 guananter “har tu proadune will find thx global minimum, Goad ient— Desens Goining. examples, 1) =o #€och tnaining example is a Poin othe -fonm (22), whene 3 is the vecton db inpud values and t From “tit input nodes dala gees Fhoough jhe hidden nodes Ci any) and tyty oulpt nodes. Thene an ro cyelt3 as oops instru nelwon. > Two dikkenent classes Newank anch lechtuses 1. Single-Jayen Fes! Fonwand > Neunans Du decognized 2. mull -layor Fecal Forward» In acyclic layers. 4 Single -layon Feed Fousoond - One eee > tu simplest Kind gh Meunal ndwonk iS single -laycn Porapinon nelwsnk, which consist db a Single Layer db oulivd Nodes. iu inpuls are fed dineclty tote outputs Via O Seovieg o weights. Thy sum Atha Products 6 coeighb and inpul 18 Caltulaled in each node and ithe value is above Some haeshold the neuson fines and takes thu ackvated value, Othowise i#4akes the deockvaled Value Input aye Gutpud ayn & Oo Sdunce nodes neusians > 2 TrutkLayen Feed Foowand nelwank - ———— > A mulk layer Feed —doowind Yeund Newark ig Q Network consisting && multiple ayers && units: all d which aru adaphve - > Tu nekwone is not allowed 4o have cycles 4nom date, doyens , hence tu name “del tonwand”, > Lal us consider @ nekwonk witha single complele hidden Voyen. i-e. the newonk consisis db Some input Nodes, Some Oudput Nodes and a 3d do hidden nodes. 7 Evers hiddin node dans inputs -fnom each @& the input Nodeo and feeds int each thu ouput nodes. > This Shucluxe is called mulslayo because i has a Joyo 6 Processing units i-e hidden dayaer units 9 addihen tothe aw put ants = tiddin layon mul, layer Fead Fonuund Neunal Newonk , > These Newonns anu called fea Gonwond becousc a oukput fe om Jaen & neusons feds forward intr near dazu dir meus Thom oor Never any backwand conneckon and connechions Nevcn Skip Q Jaxon, > Each connechon between nodes has a tueight associakd suit] MW. Jn addikon the isa special tweight Coalled tu») ‘that feds Into evey Node as thu hidden ayen and a special coeight (called 2c) hod feds into evoy node althi oulpud Ho These weighs aon calls thu tras and setts tot | Values fon the nodes. Snikally , aU db the weights ane Set to Some Small nandom values neven 2u0. > Every vode in thu hidden ayer and in the oud pul dayen Prous iS weighted input to pooduce aN outPpur. This Gn done shghtly ditberentty ok Aiu hiddin Layer , compagud 1 te oulped Joyen, { Input _units > ihe input date fou provid Your Network Comes “Ihaough hu inpud Units. NO procasing axes place In an inpuy unit, i Simply feeds dda into -ty System. 2-thddin Um} '- The connechons coming oud dk an inpak unt ne Mens associ 1 i fo hdd have weights associated curly Them A weight going i Unit Zh foiem mpud 4; Would be Jabelecl Wh, Th bias impur Node Cx 15 connected to athe hiddin units, wiih weighiseohg , €ach hidden node calculates ke weighted Sum ds inpuls and applies a Ahmeshslding function do delemine the oulpus Ob thy hidden ode. P? ethneshdlding incon applied ab-the hidden nod 15 ‘ypiaally Chinen a skp tmchion on a Samed finchon. 0d 22 wn, 4). ny “ SG) = z 8) ~ ot The Sigmoid Thneshold nit Petike the perceptron tha sigmoid unit finst computes a dinean combinakion ds i$ inpuis, ther applies a Ihaeshold tothe desu}. Intnis cose db thu sigmod unit, Nowever, -Yu Ahaeshold oubpur SG Conkinious funchon dt 1S Ynpud- i > o is ohn called the sigmaid fanckon an altenatively thi lugist function. Note #2 output anges between @ and 4, INeaeasing Monotnically wih AS MPU. Because WH MPS a voy doog input domarn toa man dang a ouspuls, % is OBO MAKE tv os tu squashing duncion o& dtu uni. 3 QuiRal Unt Funchonally ‘gust dike tu biddin Jayers. OUlpuls ane Passed on tv The wonld oudsids the neural nelwonk, Tne Backpsispogation alganithm ’- Be Seeley alle Each -Inaining example i 0 pain & fom (7,2) When ® ig the Veco Sb neduoane inpud Values, and ig tu veckon df }erget Newark ° Output il TL isthe Leaomning aut (¢9,05)- Min istanumben te Mewonk inyus, Mhadin he number Gb unis ny hidden Joyer and nog Fe number s oudpuda Un “The input {nom unis \ inh unit 3 is denoked 25) and “he weight fom uni Yo unit) is denokd oj}. Creo 0 Fead—dymwand nehwons with Vin INPUlS) Mnisdin Hidden units Qnd_Noyj Gudpur_units ’ Lnbhalize OW ndwane weights to Small random numbers (4: ‘cdwern = 105 Gnd 05), ¥ Oot! the denminahon condition is me, Do fon. each (2.7) mM Inalning examples, Do Poropogal “tha input ‘fonwand Abmough hu Nehwone - 1. Tnput the inslana Xdothe newone and Compute the * Qutpul Oy ob evry unit in thu network Poropoga thr exmens backwand Ahowugh nebwons 2. Fon ech Newonk output unit K, calculate Ws enn derm Sx ian, 6 p< Ox 1-0) (A= ON) 3. Fon each hidden unis h, caltulal 3 enon len 6 Sn< On C\- On) SZ agiirhe 4. Updali each nelwons weight Wy; Wojp Wii + AW “when [Aen 22 5 ir Sicashe gnadient descent version dy" Back pnopogadior algonahm to fecdforaand Telos Contaming two dayons ob sigmoid tunis . a * = The Gackpoopogation algonithm deans Ih. weights fon a mulk- Joyo ndwonk, given a newark with a fired sedis units and IMorconneckons . > TV employs gaadient descent to adtemp) fo minimize thu Suaned ermon belween The nedwonk ouput values and he Aasaget Values fon hese oudpuis . [7 The Jleonining pooislem ford by Bacrpowpeqation is t> Search a ooae hypothesis spac. détined by all possible weight values to2 ak Ae units in the Hewonk, > fee One méjon AiBbeena inthe cos db Multilayer newonks iS thot the simon Sushaa con have mulhple dom minima, in coninast sto the Single- Minimum PPnabolic ennon Sunface- > Undomunadely ,-this means that qnadient descent is guananted only to Covenoge Fowond Some Jocal minimum and not recessa- nly The global minimum ennon. =) Despile this obsiacle «in pmacka Backpnopagation has been found to produce excellent aesulls in Many dread -cwonld applications. Deivahon & Backpropogadon Fulu - oe pk > The dewwalion athe Shasbe gnadient descent Sule iS concep) ually stnoight fonwand, but oeauises Keeping ‘track ob a numben Bs swosenipis and variables We wind follog the Notakon Show in Sigmsid -tnneshsld unit. , adding & Subseoipt } 4y denok 70 Anu 'yth unit 6 Tu network as -follovos > yi tthe th inpud te und 5 —>Ujit The weight astacialed wlth the th input fo unit j 7 MAS Zi Wy CMtu weighted gum db inpuds fos. unit 5) > 0} + The oulpui Compuled by unit 3. EFL THe Aangel owapud “for unit }- \ \? + the sigmord tunchon. \

You might also like