0% found this document useful (0 votes)
40 views34 pages

ML Unit-1

Ml pdf

Uploaded by

ranadheerrana416
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)
40 views34 pages

ML Unit-1

Ml pdf

Uploaded by

ranadheerrana416
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/ 34
Urft— 4 ntredichin er Te Teche Lecoming? “oF Machine Leaming a goog tech tt hich enobles Gmpitins 4 learn oulomolically erm post dla. Mochine Leasming VES Vestieug olgaw thy da builds mothemobtal Medel ond enone precicbions eg histatteal date) Tafatenabhen . 1 “Riglkecbirs f° Mochine Lesaniog ‘KKK EK HR KH HK Tennge sncogmition Speoch’ ibion eae cal ‘ag (Spam lesa fn) vtuol porcersl Atsiciante = Customer Suppatt Buline troue detacBen. Stok matte tracing: Self dying Cort. Medial cliagneets ete. hot fa mochibabeavoving 2 * *K The team mochine leony vos 5 deat intreducddd by Ariba Somuol fr 1954. ‘ GL enobles ‘a machine +o alomodically leon trom dak Nenpreue perf dimance efor experience ond predic ( Re) | | Things vodtheut being explicit prrgrommed . @ | 4 Teainlog el post | cartel daly which 1 uted to. ' Frain tRe _ Preyrom & algal. feofous Mh KML ues dota to’ ci vaio pales Fa a Fen dalaget, | * GL Con leas trom post doko and Imprenc ourhemobieal | HIG a dob —ctyiven techrology. * Machine learning ig much Similan te dota mining og th dbo deal, with te seat ate Dell posed Leoomfog. sprotlern 5- fn ogent salu a problem ‘art. porfarmeree 6) ond goin Srme Spocience ©. LL P i meotued of T YH con’ improves € -- = =8 Leasining by Lapertente wee oe I. ployiog checkers problem 4. Hondwottten axecagnition problem 7 Se Robo chiving- koaning problem. @ @ [retin [Tes pertirme (P) [Egon \. Plouging- checker ploy ogosnst- Molo, perfect movies| leosinfag- oppenen by $5 voln game . Hondwootiting. clossifing the. stecogn'tlon leon Terioges QD text [ problem Se ploaps el rte win game to fonproue Betler clossifta+ A dodabose tent, _ PRabot chivtng | prive the cox Sous ty ca Emoges , Keamirg. prot). lame litte oop care] hides on ge sLrowelled Read. Chong LSoxfe") Deganfng- a lecomgy Syston “our 1 be To et a Svecostful leosming Systing it Should cketgree ; ol s should be fotlewed. PR & prepes cbsign 1 Serer stops, é efficient System. > Bee Slepg Con creole perfect sh Trepittenct steps ie 1s Chessing the training Experience. 2. Choosing the. tox turction 3. ching o ial da booget dunchien see -ostsr a ot olga thon Pat aposinaling the td | | x mat me 4 tens poe wl get 2 tinal Baty, | | Pa Cesleg Te teatinfng Sapenfente: 1° | Belews oe the abltbubis which hl forpoct em Seer ond flare § data. AS ths thu ti s- 3 Be. trek Ly rence val be ob to provide " dfeect @ fodivect -feedbnck vegooching Cheicos- 1 885. volhile ploiping chest the training: dodo voll ~ predile feedback to Heel Ike fnstead B thEs | mesa Hf thie by chegen the chances $ Success nCreoges, aK and Ke aththate :- TH "he degree fo tchich the losers tall Conkrel the Sequronte toakniing Gomples. lo when tec8ning. dofx f ted to the machthe fRen ot thot time oceunoct 9, very lees but when FE gong Experience while ploysing- egain ond. cipain ults Fecele @ oppenent the machine allgdtcth wohl gt tecdbock and control the chess ee cecaiclingly. Age Tt at 1 how HE wll wepreamnt the dchibubren exompls over which perdiimante wall be. Meosuned. hot type Pnewledge fs leosrit and hew I 4 used by the. perfomance Syatem. While moving Hognolly. sof oll possible Moun ; ' { called leogal moves), me more Ses my ty friend clivection Only ene mee prc chance trip fa ctogrroll ciechin, Temp ver opponent Togo fonchn — vib) reek Beod Gofe =b. 4 Leogal mows Gt = b, r sob f Phal boord stote that & wen, then vib)=Ib0 web B finel beard Sfote that i lest, them V(b) =—1b0 verb a Finck beoxrd stot that 1s drawn, ten VBE © wet} b fe net tinol stole then vibl=v(b). —> beat tinal stot . a 2a sheaty & typracniatin for Tigt Fersbien}- © FR ony ‘boord dots, we colenlafe stunchion "6" 68 Uneor Combination + fetlewing- beoxd fealiuoes Tes a n Clb) 4 x) — Nod block piecat on beard 2 — plod Red pres on board #78 — — Nowh Hock Wings 21 boos eA Not ged. leings m beard. * x5 — No black pleas Threatened by ved. Chlock which com bo te. by fed wnaG Noe ved Preces Threafanod be black. Sv = Wd Wl ai tort W3ISt WH AYA WSEAS HE 4 {seprsentation y cio & (0-6) —lnncten tal coefficients Gx) weighty FH each fection deliming The impattonce | woiphto.pe $ KK b0> oddibha Gnstant. iret 2 banebie gato “fa epprnieab tng AS tage ferelton, 1— * Te leon oO forget -fmchion Cf) hoe reed a Seb P- ctroning. Enomples « @ @ * desertbeg a portiinlorts booad stole ond tearing vou Nitin b) | S Ordered pos = (b, Vwi (b)) Coraning: Sxomple wepregerrta Hom ) Block wen the game | Cte, Xa=o, which meong © ved Virodm UB) = +100 b= (vies, Yaso, kB=l, K=O, XS=O %6 =0) < (a1-3 4220) AZal AHO, AHH O/AG =O) 10D > joe need todo a Stay fh thts phose. Leinitg tonty wheat, Sa Cvreny Step , W922, Consicderr Succedt. Cekpeading wn the ech stip 9 opperant), Maat (8) <— Vin (Success (49) Ht sepratentt te vet: boone ste, Yetinaling thot, ths meue wrll hellp| clestroy- pps V4 Represent opproametion. A ROURG fhe Sghhs Tine one Some algarimog do ind weighty Ge Wneo, -funchions . flere woe aa using LMS ( leost Moan Spor), (Used 5 minima the exo) bebe (v Cereb up )fa Sh em =o , plo neod ~be chonge werpyhhy BEA = IMCs Coch woight jk Morengad{ih prepattion Cert = —we, Lach woe} ig decreogedltn prorpitr Te het lb different meduleg, 4. perfimance Sten De Collie 3. Cenenolixen t Capariment Generale @) jew Exportmant Preblony . = L enenald Nec SS oa hap Som (ome bistaty’) 439) Binal ckatam Fhe ep [Conte Lia ot goal hte wail? Foci of mochis eeortag perspective, of mechine leasing Nnveluay Seasiehing. Veet lange space posible hypathers te chtmmine one that bast ir the obtenyed data eae BE jRowoledge held by leoanen. Say ating Lert fay marge Sa AES By Machine Leong 4. Whol algaittbmn Should be uged % B+ Which alaaitims percfitn best fa which types problems? S- Hew much training. clos } Ig Supticient & ond ~ kta HM’ Uhot ind ometieds chould be! ugedd? 5 Mat meted Should be: uged to veduct lesen oom, Oitbead SFR hich tyne of data Lohgp methods showld bo used 2 “Comat SE ge geal fe Sper adenny G Uniivewe F gadgaty. DO rata a foods (Biong Valued allthis) '- O Si Ge + lone cal ,, - Col = Black, Bhe Ou) ao Hot , Folded. (43) (Gas og eget Cocca Concegt SH 2H) Ary HB, HEH creaning- exomple are Tok = é loge 1 Block » Flot, Synrove > Srext phone = < Smell, Bae, Folded, Reckargle > ga\~ No- posstble Ingtonag = 24 ot 1b [ra Hoo povitle Concept = 6 ee ak j 9 Ab-represenll 4g anep Value. 8 ee | = ee eee sy Tengah: Gncat | Iya Spee \ 9 (fheeprenenty Gon Set voles), = React oll > (Mest Speci fie <2, 2,225 ona en hypotheta). Mein real Concept, ede Plod a Concepty | hypottsats “That ore Grnstlend. Lrxoengle- ® +ypotbegts iobteh ance. Consisixt, a 4 Conaph leon fives to Pinte Ae eh hp Cont lesig 98 Seth Main goal fh Search 6 find the hypotheets thot best Pip the teodohog Exomples « Exorepler Enjoy Spot Leoswning. ctosk. Galilee (StH) Airetemperatine , homidetp, r3ind , wali , ond a a (sonnet bee ( W S ® e[ Atte yack, aoa, winel & and + co limite othr bulsy — only % Volssos, e* Diferent tnslonesy powible = 2x axavaxaya= I Portes distinc hy vp pete s 5 SYK RIE AL = 512.0 [ee Additionally, 2 mae oe oe) EA fa s -

=@) KF lel Aballtolfen 28 Connon | Sforadially 4 hstinek b Semorrtical cal. Cucx 4 hy = 445. FAH finding all the Syntodically £ Semartieally. latin! hypetieets Seaxth the. best motch trom all these Chey much cloagor Bile leosning problem). | Gori fe - Speci Re a G Mane general thenyx Rabie Let hy ond he be Boolean Valued funchions clefined even X. Then hy bs ate gerexol — thon Bequal tp be (onitten hj=he) 4 oo oly 4 | Ose qovtel than \- Let hj ond hy be Boobian Valuect funder datinad per K. Fa ony Insfonce 2! $n" hypathents. bh Sa H we con Sox *x' solisties “h’ HthCx= 1. Vey hy ie wile gunexel than” he (hj >gh). Tastonces X ayiac geeeel ten B eqpal fo When Sct FP feosning Sxompls salisfy the a hypotheets Wpomt he, by Bg grexel tho B ewal “te” hi Chia he) Hr Oy lnstaree % That Sokisfiar hy obo Sofigicg by. ¥ we Go alto debine The mre —Specite ~thon Beige. Speldic. <2 GlAexal Cy ne) [heen =i) (is to=I] x sali he, © Gererel te Gecifie aeevap Mong, Gonteapt leaning olggubirns agoniae, THe Soxth trough the hyratients, Spice by. taking odventoge ff a "Habwally occu. Structiane! over tt. : ThstonaX Hypotheeta_ spe Hy = . Sapp Thee hy & fa, Cloesidy tue svomplas , SB deh. Joke tu bya ond fe, Sy BS hr = < Sunny, 2,2, Shongs ¥,2> ha = ha ts mole, genexal than ht. : a ha — Ft Impess fewen Consfroanh 7 ington a: ye ha— Cosify mate tue Instant, Than hy. Bln: Fine mel pte tps x The Pind -S algar'then 1g & bogie Concept leasing abgattthmn Sa machine leoswnting- “Te find_§ alpatittin Piadg the most Specific hypethegts thot Pt oll the petilic exomply” | Note; The. olgatithen Coie oly ve spel Ceodining Saompl.)- * Te find olgacitin Stood woitth the most Cpeet fie hypothests and. qorexolides thd, hypothesis unt ¥ cone clossift futher positia twodning dole Chey -Pusitier clossiProtion oth not be pouible | 08 tt veaches tho end) Agatti Ae Tattadiae -h te the mosh Specific hepetherts 2 Fal Query posite trod.ning Inthante YX fa cach otttbute Cons brad awh, Cp the, Comsat a & Soledied by x, ° Tin do nething © "Replace fn h by the nok eve general Conshrairt traf ta Sobiefied’ by the x. 3. _Ootpak *rppothests. h tee Elec Algattthinn | | Steph Datbete . with mest Specific hgpsthorts, ho=| * Considers only +e Valor, xe hy mott net be sole hypethests thot At Compl alata Sobeet 4 hypethea’'s H Congnctant wots the fresno Sxompbs D. VS HD Shen | Grettant (nd) thew H = Hypethaeds “Space Liat hx Substel & hypothesis Space +. be “teaining Exomrplog, Hew Consishint [ehoe x= instance. ODE COO. hoo = hype Gost Cla) atboogat Coreg SoS Aladitimn to oblabn Vexgizin’ Space: \- © ee RO NR RRA € gest tRen elominotc tke) SOE Dias 4, Ail the hypotheets 4 & Yep ly Ves%Sin Space Cirsespedtine B the fack thab's consistant: : os net). 2. Noo we Feop mm semoulng: thomsigtert hyppothionts Prom vorkiern Spore Pit each traning Compl £41 cod7 vemova one Wypothents thal #8 hed etd- 5. Olp the List of hypothasls Sabo vexst'nn spoce ofr tay FCC) | tm CH= COD | he) = cm) hats = COD: | hu (ad = ¢ (ad) Ig (he) = GHD \ Ta hs OG) > 20H) Pinal eutpal , meade cord epee: tere = w Cans inition Apel © (4 TUS a Extended fim G find~$ ol gattthrn, | | we Tk Cnsides both tue and —w Snomples. | ye Hee ye gnample oxo used og finds allgatithyy Chery Speetfie te general). HK while —we gromply trom geneal te Specific, S="$ o444dy +N A= FELIZ A A. Thitiallise beth general ane Specific hypethasts — “se S= 0H. be gee Seem Gad rly L- 2S rod lithe 2. Fa each Enoreple., FE grample te posthiwe mole Specific te qehexel. elge Eomple te We } mote quwral te Specitic . 2 Enjoy spat. ong fxomple . = Lohr db.4% , CHS 2,222 7 a ~tue ) > St= J" Sonny’ , Looam! , ‘ndtmal’ "Strong » ‘esos, ' Sound GyaSbE EVV, 2b. we Copecitic +6 qennal) So= 3 'Sonng ‘corm’ 5 €' Strong , ‘wooo » ‘Some’ G 3. Syn 5 “semy’ , ‘usooe 2 »' Strong’, ‘woo “Some” $. Ga= 4 <'Sinng", WLP S, 22, oom’; EMH AER RRE tome" >%. Ke Sy a $ "Soong , “oom, Q, ‘Sheong’, f 2, Gu = § Scunny’ PIII] SSP soam'? 7 Y I>, Fel oxtpal SHES Sunny jv90HIM, &, Stoong st 2 %. A= Seung PWT LU woores’ 112 I7% Seb . ; poe Example Enjoy Spak Table. Renwrbim Vocingact and Godda -Elnind Out te CoNDIDATELENIMATION Ai_butin Comunge fo the Comer Correct hgpothaats ¢ i * The leostnad verhiny Spoce Correctly. aes Re toagak Gontapt , pypvided + 4. Thee oo no exrdy fa the trodning Exonpley %. There ts Some hypothests thet correctly ceeerthe the vou Coritept . ¥*ot Sond 6 Converge to a Single hypethasis ‘the Goncept fe exactly learned. ¥* An Empty. VexSion Spoed means no hypothosis fo oy fe Consi stint sth Trodning examples. @ Hew Gn pasehiolly Leovinest Senge Be used 2 * The. lemon les hg seppoad fe aot closify new ae) tuctiioce thot FL hos net get observed | 'S: $& Summap worm 2 ope tr > 12) By Apcoain,2 Stroy 2,2>: Git 3 ton ny a good WR eh Grectgy in genoa? Trdg jan [TE aefou 16 0 Seb osgampions tat te uses fo predict olp's gen unseen F[pis. Remoxks on Ce ond Vo Alaautbins 1, 1 tll The ce algditnn qhns 0 Cobad by Cavadt hypolhagts 2 2. itd acts shell eave oniit ree Tedochte leaning- Deve cuss oom Samples Binged cies: Bpsca\- és re Se mente alle To all tyres & teasing dornpls. gglatjon, —s Incbucle oll hypetionrs EX Sung A wos A abimal A Strong Neold nchonge= ya. ann | x* proulching a hypethaats copoble op sepresentog. Set ol Sornpleg, pei Instone ax ame KEXR =4b. Teougef Concoply te gh (huge). (rectly not ee) _ totes o ld time. intone Xp hates Sky Ss Sonny, duel, Rainy Ais Temp ty uinarerjeatl Humidity. > namo, high Wold ota, ok woah, i» c= a Poecost a Some , change . Froiaing: examples last ting Condidode Clin notion }__________S ctowifitahion neo hnstortele) Using hypethasts | Soni Knows" poco Ht y_——orvrr clouifteahton pw instaru 8) edalling. Trductine Sys. =a Wet Destin Tex Levi eo)” - Desi Free Leasning 0 meted thot WY Wduchhe Inference to approximate . ooget Fonétiiny jenn wal poeduce drecreti voluss. find the setllowing pete, 7K widely used Robust fo noisy cafe as x Consider 9. proclieal melbel Pa leonning gju- acho Expressime - HK TUS 0 tree Strockined classifier, where Oy Tritsinel nodex sepregert the -fectiires By Bronches repoogentag the cele wha Fi Qs Lach \eod node sepoosr the. Oulcernas ; Sy deeitim tree mosnly we howl 1 types i Nodes . I Dectsion Node (atot nede—thee branches wall a) 2. Leod. Node. (na nodes @ lost vew nodes), SHOP | gary Syxtam (TE decid. $4: the Toon Should be opproved hectic). Algartimk Decision Tree Termholegie \- @ Root | pect’eon Node '- TL te the ntdo whe the ahaa lie trea Stole TE sepoegenty enbire beof ede Leof nods ord the Pinal ofp node, ond tree Cami be Seqregaticl Pusitha off optting a leo node. : Splitting '- Splitting Se TRE putes of dMveling. THE cea anda Into Subnedas aceaiding “to gin Conditieng come t tree famed bet Splitting. the’ hoew ee pruning TER a proces o semoving, uanwwartticl Froth Prom the tren Depts i The depts yo nodes the mininqum nog Step seqped tf oreach the node. form the weet. Algexs tino z DeciSron Teo, Leasining '- © Stepl < Th tre “given dobaSet, choose a stot ottsu bute, SP% S Calkulati ffavmastiion gaio Garg abhi, ee peal mas (fs) - Pw lt, | Step3 : oe joing otterbulss, ind -errtvoptt. [-Coteopy = TAX poobobi li ital. (= Pron; E®= S re Tt (Fn) «Step 2 calealate goin = Te - E(A) Exomnple\- { os AGE Grnpetibion Type pret old: ys Slo Down old No sf Down old No hhge Down mid ys S}o Down mid. y ey hiw Down nid No hho OP mid No Sh uP new ye Sho uP nets re hho uP new Alea Sho uP a4 Torres Ate butt =" profit ee Tn famodim gun f ee Bt zee -P Fe dee lg UF 7) 5 hg, Fis | | | > P= tunt (don) =5 | N= count Cup) = 5 Tes ce ta is) ae dos. bes) FE ae | EM G7), Golgate gl beter) bad =[BXA tga] Pele le -B- “Das. SPS teulate entropy #8 cematning atnbuls, Ew=L Reet Chat) [34 xprobobitit] fl | | (1) prepare. a Lob fat each offhibat THI ()y, , ra eae Colamnns— Texel atbtbutc — values. Cowon} up). Entropy = LG x Probab! ly. Peden Count N= Up Gort 4, Teo) = - (3 lg.) *(Sd\ep (8) =o. probability = s|i0 E Wg iad. Enbopt (ald) = ox 3 =o. 2. La dmid) = — (% log (8+ lg cs) == (Fey G+£'4 eo == (ely a4 Weg 2") = -G+(4y =-()=1. probobilitt = 10 Entropy (anid) = Xf = orth 3. Te (new) = -(g bal 24% las Shee o—~—™ fee 3ho Cobvopy By Or S. aA Entropy lige) = (e+ cont €() =o+o440 =o-4 Step bee | Gan = Le -€la)= I~ 0+ =0-6. ‘In the Some boop calloulodte, Grokn ¥ other Bes lta Gain (Compelthion’) = o-l2y Gad CTL > 0 Gredn C Hee? = 06 eS ae old. ned pus %,. amid Some dawn tome UP ys eo. —All up nd ~ "Pia Sean Why. Competition —> next highest gan. @ why net other othributt (type). yey yon =0 and even bh pr obo, NO weasremard- voats Ve, % DE con be ignited. x Mrpeepriatic problems -PR Decisyen bn Tree Leaomiig mn RS A, Thstences ane seprerentid by odfsibute value puss. ‘ Ly shen a dive haw 0 tine Wot + athib uty & . toch atheibuti confetng -Smoth nog distinel veluss, | fan, }t18 cable 4a the oes) treo +6 roach athe. Salubtern . Finite, Web BE student Bronch — ages RE ahd, The targa Panel hog lserote Ly Fk ates poats simplest wot ye, shen there aw. 2 powibls unis (Beran olasssticabion) . Ly Howeuwr TEIg 20g te ectind the dociGien tren’ ty with mb than & possible Op valucs. © disjunchve deseripbions mo be seqpiwd. ® Ly Devition tree novtomtly, oeposstnly cligjanchia. Sxpretiy hey TE seduces loxge Constdowtion Sétoq mie. moogebly NOG able metrros - The “Grarming dota may Contorn errdS. | Ly evsiy inthe chosifiahin i? Enompls ore handled wall by deeisinm tray & making | ‘hem a stebust me leosning- methed. The, training. elatal moy contodn missing obbibat, Voluoe. LS Decision tree methede canbe used even whan Some “training eocompls have unknown Values « MERE Stee Gewch Io, Destin Te lm * TDS Con be chorackinized of Seanching & Spoco hypotheats fx me theft AiG The. oosning Enomples, oe ID3 wil Search Sot possible doeHon breng ovotloble hypothegis . TD3 perfdiny Symple to Complent Seoxching- i * Pat, toot wath Empby twee ond Koop om onting © *K voy diveref Voluod ( trast) fumeblen Con be cheer} bed ba Some cheisim tree . 4 Avelde mogat crise B Seosthing tes lncompltz hypetherts | AH hag only Single cwooenk hypothests. ; € Wk cont detain oltimodic dacitm “reas. a Back tracking Is not posstble. * TE ca olko handle nelage desta . Teduchive Bios fy Deekion Treo pus ati tin | {> set F ossumptlorg, Unduchie bles 8 rps Consiely at desentblg the boats by ushith D3 chester ond ConaiSlat doci'tin ttre over all the possible DTs, 3K Seloe& to aveuse chat, trees psx Dengere ones Selo Clement woth highest TG 08 sect otha bute over Lowest Th ook. ote? A, Todeceg Bios ir eo a. Restichve Bias (Boged on Condit) . de preference yy (Reged om poutgttres). Peak nichive ‘Broges ond _prcfeene Biogas + Broges * ‘There 1s setidrentis blo the. frduchino biog exhibited by TDS and by. the Comdédote eLimindtion obgatithra A THB Searches Incomplutaly. through this Spoce, from Simple ‘to complex hypetiests, unl Fy teynin— obtrn Condidbion be mek. DL Induchwe bios bs Selly o 0 Gongequonce 3 the Bidening. e hy by ttt Search Strotegy: K The Inductive bios Be TDs 1 tho preference | BB coxtain hypotteges enw otheg. with no hed sestaction om dhe hypothoas tot Coin be want: uatly enumerated. This $I gf biog 1s typically Colled a preferential biog . * Coie frigaitthm Seqrches this Space Complatily, Finding ev Joep hypothesis consistant uasth the twain! dota. 4 Rade! brog Ny sally ov ConSequance Re the Stpmessluo power B Mts hypothesis sepretentation )® FA poeferone bins te mBle desioolle than a seatrlctiny, | Hos become A allouos the, leainen to wk takthing | Complte Iyppotierds Space thet 1 owed te tonbodn the unknown toagel function ne KA oestniction bing thet Shiotly Itmly the Seb Qo | | potential hypoltbesia 1% qurwrolly les clestroble , Loecouye it Srtreduces the powsibility B® exdrochin m4 | TKe unknown forget tunetion ollegetion | it See hype 3 | Occorms o1ega + porefen tke Simphet hypotberts thot fitt the. dota Teguog Fh DeciGm Tren ane IO OO OR Che Handling athrbulby wokth differnt Cost. 5. filinadie | neojuws abit selactrg. othrbuby |

You might also like