You are on page 1of 27
1. what are the different -types 8p Machine learnt, rerdele 2 Beveus about them to chetail? g- Machine leasing ik Corcerned with uieeg the night features to butld the YGht modele that achieve jhe aight “lailes + The boxe ‘idea of Deouning rnadels has d?vided fnto three Gtegovies \e =r the Collection OF atl posite cetcemes epreients the Sormple Space ef Fnsance Space - surg @ logit expressioe (Logial twedels) > using the Geomety of the Ssarce Space (CGeorsetre erodes) => WRaq the probability to chuify the teence Space Cprotabilsie veel) s Grouping ard Gradieg « L -egfiat modbelee— logiet expression te divitle toe Raciance Gace tht hese Consbuct gece pg models « ¢r logical © ypre son) boolean \alue «once “the data fs gospes uiteg & Nona. one the data ic Atuzded Fro homagertout tal & , . ‘ tern. 2x claicheston proldern > at he Zasarte opoanpegs fx tee Pore = Fo ihe your befesg tH OF Cor cothere ane -weidy ‘too Hind of Gafcatroodelp. T uses % Seqrnents ard “Free rredelt and Rule anodes = tic nef S pale rodels Consist Of cents OF & Collection of han aA Tee yuless For tree s based mnadlels » the Fengeticn\« - “ pate? defies Oo Seqaent and the einen spout! deftres it the behav tor* et the model AS the Segment Rule models | te foiloo tee SO wore . _| hogial mates and Corrept —becatnitng 9 = = = 7 BCI Son understand legtcal mmodeds farther pve red re "4 Grcep Leaenteg + Te fortolues leaneitrg bogfeat alae oy Gertapis tt -fegens the baste aj Beth tree ~ raed od rule bared — modiels- Gorept Leos ntag Satcluec ACQUT Ag the defaitiors ey = general — Eateqray fro a given Set gy posttue God — megatte taint eramples. whe Raferetng ya Boolean -Valued Recto From Vain | Evaarngle of tte tepue ach Sutput “. | A Concept heostigg task — Enjoy Spore Train try Exampl. Evaregle Sty Aectemp ttimelity — jakind ubater Fixee he) eee Hat \ Stang lay = Nowml Strong anes Charge Yo ; a Suna latory Wb Streg WO charge Yes B faa Gd High gtr aan Chonge: No Xy _ | feng Lbauro Hégh | Strong Wain chonge Yes / — OS mary | , A Atbibutee . Concept A Goocept beoustig “ast Catted se engoy Bsr" as thorn Abo & tefineh hy @ eC ey data fam Sane example days Bach Agta desubed by © Qttibutere The tase rs +o deow to predict the Value ef Eofoy Spc bya Geues of hypottest » Fach hypotrere s #5 descxtbed tay a Confucton 4 cores on the atts Qo ale ~ sty, Jevlernp, Humidity , Wind, later FReaat + Confictrary of tentute for dich Enjoy Spat - yer Te proilern Can be fowoulated aes 5 Gites rastances X ehich wepreient A fee yams pees) days s each degcnbed by the attntults: o sty - values, Suney, Cloudy - Caing) oyerternp- C Valuers Ulan, Cloud) © Humidity. Cualuers Nemat, High) © (Atad - (values, Strong, Pleat) @ talata- CVaduess troum, Cold) © Feta - Cvolues s fame , Change) Geesoety models cb Georety modetes features Gutd he descwed as point fo bdo Hhimenswa Ca - and Yar Boo three dinentiaal Space (ary -a0dz) *Even When —Peatwer cue not Totraratly qeorene p they Cath be Medetled: Sn a Qeomebte manner. Io Geese vc racdels thee due ten dys We Could &mpowe Kiccilourty five thes & planes to Sagerent Colauify) the Space + Mee Ae Gited Ltheas voodels) Instance of +> tale can alyo Ute Dretorce bared model to SPY distance . Leas models ye (reas wieder are That Pe and Ag = Mee Came cltrenv'on And % Ard b are arkrtaoy Qalarsy Heo Oy + Ble crepresenl? A Foca Combinatione gf ¥; and 2~ { terople - Pe Zs Combination of tpats- © Stato CR ects of the fey = mare TSO Ctraigre lene unae ¢ veprcentt- the acd vrepreseats the slope « pasometi ¢ y trey haute frped fot. ex: fO)e | cd 6 Ox pasrneters « They axe garle re, ?n the braaxing date awe echecCept They oe yOutc 7m @ Grogan \ougations mam only a leenthed e Yapact en the leauned ynodel-“hree models tend vy rete Wil te rafiing dala jg a eesult Of having | acatvely : Feud Peuanvters + Leear roctelt have Yew Variance and high hes. Te Says thar Rear model, cher Uetiely to overt — the trading dato. than dorne oy, moctebe - } a a1 Degance —bared Models 7— They wie on ste Concept a clistance «Te depends en rnd © trancpert between tivo pointe. &x) Travelling be too citer by place Covere lere clitance physPetuy becuse a plane Zs Unrvesbickd «the than by “trai Luclideon , Mokotosti dé&tance — metrics Commesly ued gue Manhatian and Mahotonobr » ny , Manbattao : Luclidea applied “through Concept 9f erghbours and excempe bout we porate @r Provitity with |e ernplacs Eamets ase — Lentyotd “that Fed a Center oF mart accetliiy tp & cheen distance rretie SF Medoicte thae ft the rnost centrally lord data pote » oH Neigh pes . SaCentroid — EprEIEAI the geomehte Centre ay a plane 06 the Alithmetic mean Greitren ey avd the pole 80 feg Lore Cenpoid omnt » Te extends to any object Fo n- denensesch Space + “ite Cenbwtd FS the anean Posie HAM “Hy Domnt: Med@ids They que Silas & Concept to nan A Century eve TeAaLEst — Nei ghrOU, K- mean ¢ cleitesfng . Qroka bilidtte voediets:- ee = Bobabilictte rnadets See features and sander Vasrablec tre proces Of modelling -epreents ard maoipuakt the level af uocertamity eoith veipect te the se Uaifarlec’s There Gre 2 types > Paedectrve ard genesatrye PCYIX) fom .whreh Y Gn be predicted foo K. Ahive Bays + p(ale)= | PC@lAD KECAD PCR) SHE bade Wea of Gnrdetorat prtabilty - £4 e meanest neiyhlous, [rear Native Rayer + ~tosget Wastatles a 3) explafo about Grasping and Grading socdiels 2 & Gradig Ug Geouptiq % a dttegeral Gtegenaation fo qeewentc ~pricabilstte — logical — Corapesition al « 5 > Gree eq wacdele breale the Fnstarce {pace Utp mre grasps OO Segrnents acd Pn each Segeeven apply a Were Bape method Curch as Na ferity cla) , €4.- dectsion tree, tenn. ~ Grodiig sroedels form ove global mmded Bier the Msanre es See eq: \tevecw claiifiers — Meumd netor ts rogdels:— > Groagtng eoodels have feved ge sok ton be, Caneot Acstig.ash Reitencet beyond Bevcutivo , Tey hae fixed gerolubion e Gane dasttngurch tances beyond a aesclutreo a mt te Frect aeoluton gor nat mocydity cur 1 att frstances t Segroen - i be! > Detamenes the FghE Byenenss and A that fegrent Sradig wpedele > Thy dent ye the noton Of feqrrent > form One Global model ever Pasiance Rpace. = Grading rocdelr are Cawsathy) arle to divtiog ach blo arbiteauy stances, 0 retttier how Yemilar they ate. models A?gn y afl HtO ome ALL te objet 3 Perluben 4%. @n they, Tofrrite » pasrcularty when unl ct bi fr QA Cavtes@o tygtane Space [> Keppote ect wrache! and Othe qeometitc clawcfiex an examples Qf gtateg wedelr. ay trey cle Fa Canterdan tH varce Yar. > Eves THE rogoutert — Azpfereree Behiwen — fortances a Oicurs About types ’ Of Mochthe Leanirg fo details Hachine Leawrtag algRihOS Cac, be claccified enty there Aypes wo Qupanvtsed feasnteg (2) Untupesviied beasesaq B) Reidtetcerent tanning - Sspewtsed beaanting ¢— Bupereicedl leammg fs the 4asle > dleasn®g function that raps an Top to an ovtput Based on example Ropar route POS « Ze oralipes the -taittg date ard produces a Ruritiony which Gn be wed 45 wap, To cpa Core ae Aanctos clay Sobel 2, unten thstarcer. Bl Correctly Getererine the (easrteg Clasthictor ound recpetsion ate Supervised [ Supervises rp _ k Output Toput_ aw cate a ~~ Tfvieg data) “Desired output . . 1 | 7 Rerrauks. A & Rapeseed feaunfy® 48 So Cowtect ea@ute the proce Of 95 algonthn leaintg fren the tretiity clataset « kle Know the Convece Answers , the algoritirn ‘teratively maces prectictions on the. Praintng alata ard %& Comectly by the teacher. Leavaing Stops chen the algorithm Achleves an acceptable levet ge Periotmane ee gender oge Label 4 4e Stele cf 6t Sek F 53 healthy " Hq healthy F 3y Sick 4 a eaaithyy Unsuperutsed Leountg — nt ane » provided but Ynskad the atggithon ries to tho the pu fo the ro have Seane tn (ategorred “together Te gtatistical approach known as density eitirration » Tt ws den fostarett Coca sting of Hype no ovtptt daluer > Comrect Ye SfoMIES Tdentify Strglasities fy Commer TP to tunsupeuised [easning & Used “to Asavr —‘ofeerces fobeled — >espenyes + #1" ane data withodt {ancl 0.-The Crannples ard So thee we given “to the leaunet cue mo estimation Sf unlabeled, the accmacy of ‘the ait Gnnot be e Vahualed gouetute that fs output by the algo “The most Commena unsupervised leowntq smetrod 44 cluster whch t& oxd FR evptilatsy data aralytic te Fed analysis» Kidcen patterns ov group 2% data. evi “the data Consists OF ‘the gender ovel age of the patito gender age mM 4g M 6+ F 53 a H4 34 Moon Relinfoncernent lease s- cps bw suyerstind ard unsupervised Vornitg 6 twe alqatittns get joid echen the answer is woreng y but door net get told han to corel TE hos to eaplore and ty cut détterert pycsthibtte, until Te wots out haw to get the antuer the key tea ZH the CM ts to Output > descapten oy the Cénfistent with the trained exaseples - Repuerertaon’- AL 16 ab algonthro Ficds alt Contisere arith the obsewed “taleitng e rary deine this algostho hypoteser Tc Consistent ewith the brag evompes tf tt Comectly classthe: the crawls - Defiorton:- a hypottees bh is Constdent with O Set of twakicg evarcdes Dd th acd oly if bay = CCH for cock eainople Ce, c(a) nh. Considert Ch) = (xt (4, cln) ¢ 0) bY ~ C049) elercenss norome-ELl PIENATLONS algonthio ter of OW bypeibst desea bable hypabeaes that ase ples. tp order to Fete me Te Said tw Satichy hypotlses buen had =a evocnple oy ~taget Conre pt . at ts Gaid te concent woth bypethests heft hGd C4) > Newton space dendkd Vostt 6 D uvith eipect to hypahwes Sote OH ond “Trost examples D, te the Uheet op hypates Lr He Congicenk wily the Liatining eravoplec to 4, Vin = SC HY Gontsere Ch, vy . The LIST THEN = CLICIN AtiDES algouthens, me tnitialnes the Yewnon space te CoctaPo att hypcitece fo Hant then elemfnaier any hyped feed CrCecsicene with any training example - Ir Meson Space Ca lest Cemtelising every hypethes ta ot. 3% ex (4, cep) vemoe from Version space hit #e04) Ss Qutput the lat of hypotheses to lesions Space 4 Version space is Finite and t 75 net -feasble. Hore Compact Reprerentation for Version Spaces :— Ofte The general bourdany Gs wth Tespect to hypettestc Space Hand trong dada ©, Te the set oy reac Paraly General members of H Consislent with &. § 0 fq ok | Garisent 0) OC ng! ne [Cy 09) 0 Covert Gy! 03} Defe- Specific boundary 8 with veypect be hypothesis and traictag data ©, fs the get of Mintrally Taxfroally Speertic) mershers of 4 Space # Jenerel (ie Comsictent oth D. Sn 60H | Conucent (yp) p (onto) focg 8) 0 Conse J} Thee: Version Space ePrcLemtation these 5- : Theo Let x be an Aikitany get YF MOdanes @ Pet H be Set Of Reclean =vtabued hypottes er clefired Mer x. ) fet csv > L014 be an arbday tauget EConept Aefined ver | %s Ard lee © be on arbilay fet * ey Hating examples (Ce, cea)= Fer AU etre art teh Ie ard G a At fined Vs = $ho pjosos) 6910 G) Cgohns) 9} ie) To_ proves — bevy b gati stytng “the right Wo hard side ef Lhe Abave Cerne, is f VW. a Every merber of Us gaticher the mught hard de es “ty express tp CANDIDATE — EL IMinsationd atgotthm usfag Wewon faves: ——— _—_——= Ss 7 ext- Example Sky Artemp Hursidity Wind Water Jewigy SP! \ Gunny blair omel Stang —nlaney 2 Sunny” Wary = Hgb Strong that, Sarme ‘fer Sarce es 3 Rafoy Gld- High Stroy Mase loorg. _ 4 Gunay talatro High Strong Cool Charge Yes for trcaiing evample A, Gunry , talairn . plstenat , Stroog , tabaica » Sante > + b £9,¢.6-6,6- o> 8 & Suriney, labored, Nedcoal, 60g» lataven, Sarge > Gorm 897, ag q again Urckarged be G9 - Gi-Go “Bs trakotg eyaungle hy Qauineg, Mlaun, (teh, Shey aban, , , face \ + S Lsunry , tla, Noimat, Strong . taba, Carne S v Ss Zounny, alam, 2, Srrong,, tAlano, Sarne > GirGs 9,8, 9,4.03 fos Tatoieg example d , Rainy , Gd, Hegh , Strong , talaura, Change > — So Sa Sguny stator, 2, etang, kloum, fare > 9 Qa < Surry, 92252,2 25202 stato, 924729>¢9,) 9 72 Gs £3. 3.4,9.9,95 ene de $< Seony, Alarm, oe 2, Strong » talasm . Same > SY Ssunny + Whar , 2 - Sheng, 9,2 > q ¥y Pe ER UID 2 te, 9 27?) 2027 2, > G3 Leury, 2.259 2 2> 29 re 23 2s ladaim,%, 2,7, 232,227,772 * processtog ;— forme 5 ) Z Sunny, awn, 2 oe, Seg 13,2 > —_ T So gsunng » 2,2 g 2 > < Su aan ny, 1242.2, 25 CD Uta, 9, Shay, S\/ \/- 2 > ¢2,Wlam, 9,2 9,95 Packably approxtnately Correct leaantng Crac leauntng) Cormpatationt ‘theoy 1s A Subrfietdey Ax leveled te study tig the destga ard Aodysis op Mt algorthos. Te Was proposed by Letlte Valiant th 1984. TH this framework the [earner 7 yecetues Garmples Grd rast Select a hypothe ais from a Cettazt Class of hypotheses » The gual ts tm, sith high probability the selec by hypettesis exit have law Cae em. PAC~ Leas nadlity — Called the toslance Space which "ny © der X be a Ket be Botte ox fofnile. ex TAY be the fet Of aul points fo a plane - ts 0 -farily of -froctions © Am Concept clart C fos X Cs Xn fost hy, -q evember Gued a Concept « Aw Cnet Gan alo be -cheuchrt “ef as a Subse OF X- TEC Rinction Ue i oj C fs ts a Subset of Ks ‘t defines O unique a forty as Pillows: Le to enlace © othewie 4A hypottestc b ts abo @ function ht x0 Sort YoSow Cr the Gre OF Concept » hypotheis tan alo be shag! cy as a Sabet of XH tofll cenole O Set Of bypotheres oo Fccmrl 7 | Conepe agate “ | CH) c . | , 1 ' _— . fo axes -abijeed nectorgle Can be defined by a ket af negli of the foilouing * Poanen QLe Lh, CLyed. a Vago = Chewonenkis Cve Jdimenions— “the Caxcephs of Mlapatle- cherenentis climencies (te deren cien) ard probably approvemate Gerrect C PAC) lecuning Que too Fopcttant Cenceptt gn the mmalemachal thesty of Jecucabsrli ty ord hence are protherratiatly grenteda Th ie preatute Gpachy, & 0 Space ef -Rinctoos that an be leammed by a Claitifiad to allgud tho - Te was defined by yalel fnior \lapnile ard Ale sey chavornkis %m ll- The notion ey PAC leasneg Hau propo by Lestie Ualant & 19¢y4 Spotted] Bele blade ft Rae bd othewole @ @® a * bo ean ® « = © co) entity Sete Ge aia Cw ° c cD * a OS Go a Wii) Fu set O —> Ol? for po axis. aligned srectangle coc chatterect fous (points Goly sedergle Coleg -too quirt are shows Ve dimension vray Seera pecsindistic »1¢ tells Us that wsitg a syeclangle as Our hypothesss Claus» we Go lean enly datasets Contasring fous pons and met mde (s) What ic claysi-fation and expat ObRwe diffeent “tree y Clastfastion . te & a aspanised leaantag technique - t ts wed TO ‘dent, Caleqsy of teu observtatton ¢ on the bass Of tr0BP9 data. Afro “the GNC tig > Ta ctantfetin a programs eats and then clasifre fato noe Claes Gi) Gr obewattons No, Oats Spar or Alet Sam, Jeoups + Such @ Yes or deg + etc. clases can fe Called as faeget| Jes, Gt oF 4s Categery y TE Contains ‘put woth Comreipercig — The Out pr output > fp discele aurtput Fanctooly) fe rapped tO toput vaste] exc Ereal Spam Hekctoi is used to predict the output for Catequriicok a —> Te class? Fations -— There ate two types oF be Bloaty classes + mbar 9 possible OUlCowls, “thee @ulled 0 Firtey chassifer. eve- Yes ane, fale or Female ete O. Muttr—clars Classifier s— Ifa et ik lasiietion problems has mde “than two euttomes, then FE UC Guied as Multt—clary clasts EXi- Classtfaatens ef ter types o. ee f CUPL Clash ‘type eh muste C asctehes of Type of tt classFfeation -Algorithens 2 — classthcaton Plgemttms Gay be divided to 9 Categuivt Lineay Medels i. Logistic Regression + Support Vector Machines Noo ~[éneot Models ot Nearest Kle?ghFours eo keel SVM © Native Bayes © Deisoo yee class*Pation ¢ Rocdem Fosest Classifvatfon . © Explate to cletail about Dectsioo “tree (ana) ) eth ao erample 2 4 703 algathn etl! perilm Folinceg sesks recusstvely 1+ Create aot mde tr the tree o- TE al evarnples ore poabue, retro leat nede,, positive * a Clee F all example ax regative, rectum leat mede , reg ative U- falulote the entepy of Cumene Stare UC d- for each attitu, Calcstale the entepy ith veipect to rhe auiitule 4 dered by (G4) 6 Select the tht tohch har marta Value ef TGs, 1) 7. Remove the attréuke thot offar HEME TG fre the Set ef attritutes 8+ Rept uotil Gar suo cur CL at attitbulks, of decicien tree has all. leap voder- Noo tt i Calulate HOO. the Entrey of the Cumert tale. thete ate & NO ard 4 Yer te Ke cay Mee thee Yes No Total ) 9 5 1y entepy % a). -(£) bn CE wher a aie pesside Valuer $A an attra - Here attilatle » vintind® takes too de valuer % fomple date shence # + Seeat, Seq} we hove re pe fweek 1 2° & (Screg) ry, tc lalate . % - p(Suroe) Ue PCE song ) B HCD 0-9 which ux hot always we hod. alveady Caleta Yn the previeus example - frog all the cq exampler we have & places’ wher He cetnd ¢ upat and 6 whee tte uid ts Shorg tala -weat® eskod = Sheng “total @ 6 y P(Sucac) = Mee] weak 2 & Tial 4 PC Ssicrq) = Newey Steng gs o Now out of oo 8 urat evamples, 6 6 them aio, “Yer FA ploy SI] them Loete wntot fA “play Colt "$0 «we fave entepyurar) = -(B)e. (4) - (2) ts, (2) oe = O68 of 6 Strong examples, we have 3 exarnples where the cutteme (bas Yes fs Play Getf ark 2 where we had ono’ BR play Golf atopy (2 coaeg ) = - (2) tsx(4) -(2) to(2) = 1-000 = Hae half thems bebmg tp one class eahile erder hath, hele to others Hence we howe peyect randownness - Calautate Sie Gai T6 (5, tAllod) 4 (S) = 5 pla) +(x) ted 7S (Sy tabiod) = (5) - PC Surat) +''(Sarax) - p( S09) + < ome - (2) fonen) -(&) (-20) M( Sin) Gokf asd 9 = 0040 WUdiod® ay the feature acd give us nfo goin of G-o4e + Kno we rust Sasilatly Calutole tre Tefo Galo Re att the fate: TG (5, outlevk ) = 00 9Ub Te (5, Termpaatare) 202024 TQ (6, Humidity) = 0016 | TG (bled) = 0-048 (Prev Evample- WE Con cleaily fee that 74 (¢, Outlook ) har the highest taf, Gah Cf 0-286, hence we chore dutleseathiasle as te Toot cede at this post, the decisis tree tooles l?ke outlook Suony overt. Fa Yes - | \ceoperature Humility en fy Gat Wee Hunt teal a Hot High ¢ tg alo Mid Haegb py _ ce Nowra leak Yes Mid Neral Staong Yes H (Suurey ) 2 (+) logy (2)- () bos *) peat tutlook Sunny pets overCast- reo] | No / Yes [ow High \ al Ve teak é \ No “, s No Yes CA) Explain to des! @toat CART wrth an evoople - At Classi Rartion ~pees— TE TS Go algetthms echere the tanger Maule re fired & Categewical + Pets then Used to Cdlentify the uclary * taihes whch a tauget Naiable wooulet most identified Tre CART algoittws is a type ef Classification algonitho that & require to bald a decision tree om the baste of Gin’ topurty Zoolex-Te fs a base gractfoe leasing allqevttm and Provicles Q wide alasety ef use Ger. > CARL tS an Urnbwlla wRL Hat vEfes te the -folleucitg -type, Sf Aecisiog “trees: © classiftceion trees tlhen the steuger Mauable 1s Confouny the tree is wsect to find the «clan into oshich the tauget Nasatle fe mot blety -to atl @ Recession trees: These Ove used to fetta the Value © A Contiounss vasiable s; j > 46 a predictive algpilo wed i5 ML. wy ox plains hao 7 A Aarget Vaxzables values Coo be pacditcted haved on otter Naluer+dt sa dectsion tree Wheve each fon le 4 paedictex Variable ond Cach rede at the Prediction for -the ~tauget Variable. Toa pat b ert far @ tt & ao “mp dtack decision tyee alguilbs that Wes ae te foundaten Of Ms Mowover it ie also -the basis apy other i power it machioe lecsntag algorittaos lelce logged decision fie | sande forest ard —evsted decision tee 9. >the Classification ancl regress tree Ceae-t) rrettoctlegy one ef the oles And roost used to predict outtanes Nosiables . “They Le eyettert fx dal ‘they require Utey “trees rmedels ave : spared to uthich gives thera Streag advantage ache Compared ciher Analytical redets ©) lalate te detaled mote on Pegress7on 2 Br Te fs a Cakithas wetted to mode the odahondrp Ho ¢ dependerk And fodepandent arable s coith ow ov Mee endlependtent Yontabes 4 charger ConepondlQG to aq Tedeperdent Yaxvable, when eff. Aedlependent Vaaiatlec Ore bets freed predicts Yel valuer Such as » Salary , price ete. ey Suppose there ts a roa keting Company « the dest Syeare Goncsponditg taler- temperature, age Advertiernent | Saler #40 $ love $i20 $ 100 $ID $ leon nee trace $130 4 tsp $200 22 Now the Company want to do ty, Oder Meret Of $200 4A 904 aad wants to Know “the Preclictoo Qtout tHe Cates FE this years S to Solve Such type SF prediction Pobler 5, Mache leam*eg ue need repression Oralyste HFS O Giprvied beaming techoique helps to Rrditeg, the corelaty, r Ho Maviobles and enables us to predict the Continous uta ovals Te ts maily wed for Prediction » reciting + Hee Sa, modelty. ard determitty the Gaual -effect aetahonshy> tho Nixa ble Regression chews a tie ox Guwve that pastes Thneeth at the datepoiis en taget predictor giaph fr Such @ Way fae the Vertal alistance blo the datapocits ant the aegresion Line & rvingesurne Gi > Rredic Hon ef aah untae teroparatiwe and other -factore Master -nends of read acctdents due po sash Aaivag Tereotrdlogtes Related to the Reg recsion Analytic *~ => fepenclent rsfoble = Te main factor ty egress! anal which we wan td undeutand ¢s Called clependonr variate fallel target Variable > Tockapord ent Viattable The factors echPeh af feer the cept: ued to predict the Values of the Seperdent davainkee are atled Frdependant Vora catied ot pres. rR cetans eter Vey low value CK vey hgh Comparision to other obSexved Values» te cay Narianles ave > authers: Value to Hamper the aesutt =S MaltiCollheattys- Ty the Vasfabler are highly Carrvelared col each citer than other vaxctler, then Such Catled Mutictins > Unde ting ard over fiteg OR kelp to Predicts ef a Contirucus VarPable- There oe Newios enarier Sales , prediction ete wwe need -techalay which Gn make Prclretions move Accurately Wwe need egressico avalyers which Fs Statictiaal method ond wed fm MeL and cetascrence. ~ Regressions estienates the selatenship tho the target and the Todependent Vaviowe 5 TE ie ed to fed the tients % date ws me belpe to poedict Yel [Cantiqueut value 3 By Pexfeimiang the regressitn , ue Gn Confidently delercnfre He Tapettant facted + the Least ton potiank Ancted aod haw cach rest 2 fot and haw toch afoctst. Ps opfecting the other factet- ayes of epee Alter Regression © Legfsfic Reqressen + Pyvomntal Regression # Supp Aector Peqressod © Decision “tree Ret © Randem Fewest Regression © Ridge Regression © Lasso Regressico (4) prause obeut Sipps Veto achitec covth Seal explaration of. 08 Fang 3 0 yen ty ove the Hist popular Superutied Leawring algerTtha.s ubich re asad bx Clastfaion a1 welt a6 Regpessicn Problems « « 3 ed for pricoarily pte te used for Cla Ratton problems’; pe goal of Suet algpiton C4 70. Crete tte tot line Gn Seqegae n-dieensiral space tat Ly pur the Tew lata Potot to the. Mackie learfag- oF dectsin teurday that Claes So tat te Con eat! Corect cakeqdy im the future This best decison bboundar Caled a heperplorn SV ehDKE the ertreme pelos | Verto ty help to Creating the hyper place. These extreme Ques Oue Cale, ay Muppit Verto, arc bence algoithes 4 -letrned Os Suppert lector Mockine- Cekfder belew diagram fr which theae ae « Gkegoser that ave clanrhied stag 0 dlecis eon boundary oy hyper plaw- east righ astte Fyperpone 7 Mavis : xs a < oe 4 moaugio : zs: a a Hyper plane : * . es . oe Suppat vectets Negative Hyper plane - 1 > suit algorittrn can Ke ed foc Face detection, rage classi fation, ext categorteaston etc. ope SVM Can be Of > pest => Lica SVM 4 ge as eed fot Linealy eeperable date hich mean tf a datartt Con be claisrfied too bier using a Krcfe shame Khe then Such dala catted ar Knear seit claystfen suet te ts ured Rx pontinealy Sepauated date non-tinca dawget canret be claitthed by uidy @ cohtch voront "F % then Such dala % tamed ar non~ Koear date ight oe, tau a al © ciel C1 ee urd classifier aa cl Hyper plane ard Suppat Wer => Hyper plane s- tere can be ro Sepregate the classes tr H-dfiwenttonal -Cpace Git the best deciston boundary thar helps to cl best undary ¢¢ Knace 01 hyperane of se'7 huundaver to br rod toted the dala Potats «This Support vectoas: ~ sTre dale pots or Uectas that are the lott te the hyper plane and which’ Affect the posttton oy the hyper Plone ate Linear vit $- f The axing of the SVM algenthn Gr be acdeiibrd by ty an eyample. Suppete we fave a datart that har tise tae ard the dataet har 2 features Hi and te « Inle want & Clashes that Gan classtfy the pata C4112) OF Coordinate th eh gener tblue « | e Tre hyperplane eotth mactouco maigh (S Guled optaral Aypeqlare clotles fo the fol twill divide the ence woe ale nah Cree here oe te (doting eve 0 glare fn Pest hyperplane wae ef aadius 4 (nm Ga fF ron- Hone we get o CHeumapererce Lines data. (10) Dewrtte k- Nearest -Nerghbour Clasifatton %t detail 2 fe penlenest negphow Te one ap the Angles Mache (enuning algithes aed on Sapervised Leauteg secbeique DENN algrtth axtucer the Stestlautty between the Tew Gue[dok, ard ovailatle Coie Orel Gu the ew Cat ato -the Glegsty that root Sailor to the available Calegostes “+ KN algorithm gtswes att the available dake and clase’ byedt meas chen clawifed toto a 0 neu dala print bard on tre new dota appeate well Suite Colegoy by cuthg SD Tt Gan be wd fr Tepession ar eceel ac for ct toe ued fet the clarsr-fetion prcdems bat mosiely non = pararertitc algosilt brane it leer noe kN eo impte ony anuenpon on undellying dala oe te abo catled @ larg feainer aalgorithn be@uve it chet seek fern Foor the -trainicg Set tevoeokly “nskad Th stores the datosrt ond at the Hee of clawifiation , t performs C0 action en the dotaxt. > KNIN algeat> at the trofiefog phate furt steer the daiaset Toto a Gtegoy that (s much Setar to fhe new dala. EX kN clair claisthee Zopat to predicted output- ile have @ na dale pom vi, g> the data point will Fe % whch ef there Glegories em Solve this type ef probler, we need a K-NN algoiite. tality the help of b-KIni, we Go eaily edonty tte GY ev cl OF a pattculen dolaiet Wont a KAI Helect the mo kof neigntou > Coltulak the factidean distance ef Knopf neighbours « We Wke the le ~reaest nefgbouwt as per Catcutaled fuclidean distarce He Amneng these k ~Neibbor , Count the nou CF data potot Fo each Categeiy Se, Ago the -neLo data petnls te that careouy fy which the PO the netyhbouss re parfum & Now Te % veedy. fae SL etal te

You might also like