Unit 2 notes

You might also like

Download as pdf
Download as pdf
You are on page 1of 31
we TH A ID HETHODS unit: ANALYTICAL THEORY AN D: ft clustering Ya K- means Y3- Association wuts &) Za Rpotoout Atgoouitim AS Evattuwarkfon Of cam auirrare PULLS vob: Requwrs.ton Vis enema Vo Logis tfc CLaschCoanor Ye Pecieaton ue © “a naive Bayes @) 4 Empontanr ouutiowss—- Moret T 1 pectsCon bree a chranaeveruitts Of eq Pata 3 Evaluation of Bi dava, + Nave Bayer dnrovum > Apouinse by 260 Ly SULLR + Hap Ree Pecogrammung model TTT TAA vauany sAoiivsaud ny ¥ TE fe tue LOU UL per We oh » Sbartsb'cak data anctysis used Tn many ports * Reviovany tuauntag , Tndeperraene component anatyits wiuswas umsuporutoed LL PUANeY 4 uniaveed qhewa. % Vuoie oe Many ouipporcent ULLab ging modes t conmecet?y, oly modes R- aumtyoud models ° er a ae Conme cet wily models ane based on Lie tonurdtvily Lis Ean ce ¥# CLMtrvoud moclals ct based on central Mmdouiduatl distance ee Greco upfng obfecte Trio a almctor gerourps 3? Homo gevrous _ héquty sfmilar rreberrog een Ce - nog] ify cere . ° ° ¥ CLULSEOLOY us a method eften use we EY . 4 f or expuasccutoscs aw atryeus of hata x mm CLuesberccin g twuie us no pre dfction made water ceupkesceing murtrods ints Ue Aimilosutty beh een ob feu “ # According kD tne objec alt Dues groups une almitan obfects fren cLuseert * cuusberuuing becuinbaiee morucerting 2 Vax vouds brancnes Ff * — poputayt chs LEP nective th Ke means explain cLustertung & tomer) 124- “ ke mcans cuubeuing erred ye Ke means UL LESLUNG a gaoitnn ub a comtrol based at good woursie eackr CLULLE RH ues associated wot = cuntvolh x Hatin adm of aigovcitim Le to mirtmiye thee dun oh Ast blw rhe Aaba and errors port Levi Cort ben, Before K- means A ppitcatious ' Amazon . Netflix . Trenance Fraud wetection Ren dha euigone Celbtomen éeqmentation é : 8 Petre, Hotepol aletechion ms WO py K- means steps: pond Abubche ' Seuck athe numben K . te MeMbet SF ClLustet a gotich teks Standom WK’ a9, centyotc 3: Ageia ent tAra utd ume closest wentroid Pow tet ined. “kK! curster | capitulate wna vasuitunce and Rlace a cath cusber. re new conbyold Of S Repedk ie Alp 3, vuastgn each haba pofnt LP ULW eLosbest comevoud Of each x CNUs ber. 6- (qn: OLULULS go LD 3p Ht ase go tp tfuish. BB \ia4 () Deptt. neu ber ; =a ea Df cLiUsbere - to find wne gecoupe or cuAbeu ie number 4 CUS EOS must be atepeinedd . l DH he number a CLUE er cbs Ko Keema Examptt ke 3 y She inftvar cusrsbers contyouds y re uh Lb ULL happens et irclo UY, ye we naved BOL LCA EU CLUE DA 420 tlee centwotd Position ¥ andomty x Fac of contrord now SLOPIUAEUS cCLuster. b Agston ok abs uD Custer « oistance pom pout paint LD cain OF A runcer unirowd fh measured. pate ub then aseiyric 0 coker uz closest a duh fb now wupeated 7, eUh puns porns © Au partis ave Fnfviauty assignecl up Hao anistercs 3 Jory ‘ A tas * dhe center ef each usher uw Caliattaited. * dhe antens we new controls af cursben ke Uhe custeu conbvoid axe moved up Me Clusber conkers 5- Assign points wtp NUD, wustey; yg iJ ¥ sine wae centyaicl can now be Located at olf porent pot. kach pofnt us axatiqn ce cuuseey LOGEst LO Ue . : : : 2 ee eRe eee Now , Atep Ae LEED que SCP? ib cnounge anymore abed until we cL bem aks tYrburton = olpesno +» Calelare uae come or oF oath chusbert - uD dhe cover x Assign CLUB EOL comottal LUsbe. K A8oKqe pons up new C of K means meriod fh bn our one ausaduantag? as en Mmftiar CLUBED . me pork euswkh Leper Tasehad uuscer Gor Yo tame tees Tnto aceotene LOWOLE PICOCO CLL LE us casuded ores Several time. optima _custerca Numbers UUuEt ey - Q cleabes~ 3 re u® a sue based machine wcrwering nerrod — ger cue covering Treusting suLariousity benueen vartabe fa Large olataseb, EN) unatrpeurised traning bechuwques a) creas anette data fram ano Maps ALCoOsL Lung (Y - 2) Hav ) Hasker based an alyas mining A) epnePrivoces Poctoliicefor . Ex ump. Super. arucee sh 4 CBO Lugs porad mos Ufeoly Con, on mit 40 tame u aso UY we ©9g g wl a austh ON nears pout, «ase Ato milk bead but 270 ULsboment + meu rad wuUb-et ULstomet 3 Msouiakton sue weaning can be aievted nto 3 pes © Apsfosel Atgasuitiom. ® cedar eee ae Bek 4 PUL {prom preyed : A Anetacde C~ Wousequene or . tem: courceton 4 pasu car MOTE Themis. Ip tute cis no ftems Bek of vem occur Marte pe gent Thoms bougae Beer, NUK, rq ae Be 1, cepgee, kqq \ . S Beet, yea, eqqg 4 NLA , Egg, meu { ~ ad cofgee, 3a, Eqg, mfuc. 15 x ede Xe) FE Jrequan partexn: Se f §qq, veer J - based on pequent Paneun (Sequence Puncaase) (Bio infowvatite), 2\1\a% Assomatien curr analyses ceee AR= Set Of frequen ue SRABUSHL? , ems wey Ch atuin que ) afseoven panes a) Hinton dug SULLLE 2) Wwiausaceen Wie Garppasue Count: Ber a ftemSer prequel OCLC FE Ted = [ti] x e th, efeT TCx) = steppoott Cx) N N- Jotak no of txn xX - Them sek E xy) = w(x Vy) - Elfmmake ceninoertesitng N UR Contictun ce x , Inport ef a sute and ih SULEAL ELEGY Conakttenrat Patobawcteey ¢ y (PCyIx)) Conpiotance (x sy) = oT (xvy) Tx) Baup pov Ox 7 uh Aue ecm ou 7, mia cog ApsPost Algositam a ye poten’ ee a) ~ Te f an abgasirnm the option o 2 Aaterset mfr and anodes sukartonal dababase io eo ou % Tr shows how obser each obuur one = Ol ; Woy 410) : w Fg: etiidémum xeyppt Twsusnold compiotent = seme | eulpporte min Buppasis ; 3 Q/A = 60+/ i 3 B/A 2 b+ ‘ 3 5/4 - 45.) 4 ! | Mae Bas: (C1, 2) By 5) cy 20 3) C1, 09 C2, ayca, 6) Bs) LLP pase ad natn Suppose peace | A ——— . \ MA = RGY. KH (2) (>) Q RIA > wor. a, 5) \ YA = acy oe 2) 3) ' as Q(A = soy care) 2 DSlA = 1S/- Ca) Q alA = SO'/. Ct, 3) 0.2, 3) Ca S)0 BS) : WUipse (123) Clas) 13,5) (428) Themsee | — Atepparte mut 1 SLL pO Bf. 3, 3) { Pp Nq = avy Gi ancy I Va oe asd (1, 35) ! Ae asp a > 2 aly = sd-/- ( a,345) 3X . E >> tateutate Aupporte conptclunce 22 Confidence = (Support (AvB 4) | 9uppoou of a) - using (23,5) qewats Agsuctaudry Rule Ruces eceppasue Competence Oh atheros: i Te. ye Ud)!” RO 134 (a%3 )s5 2 (2 *3) VE 00 2 Be 200 fig 5 eo (3%5)42 Q 100-7. soo], e (a ‘s) +3 x bbe/- b6/+ ee) & 66+). 5-> (23) & 35(2%5) 2 66.7. a (243 ) FT soy C3%s)sa aw A ssouaLtiory UK 8(a*s)uz = Q 0 wnuusloni~ —— = 1007, suushold votue a 3( 345) 2 “104 betow ts i, atimin A - BAYS 2 Bs joy. (28 Jas SCa%s) 2 C2%s) ya wu oviocfauin Stuy, aiz8 NAIVE BAYES THEOREM Nae Bay e& Lassi pen us based on bayes fe not a sfimple atgooutane , puke we um wuutle att © them shiarrce KY pawe Ob pedhurrs, cucootem at a family at gore a covmon potrciple ‘imclepenelt Ts been crarntyced Mb cCelory SHR + Daraser- naive Bayes, Pe Paty, Outlook pe ee ruumicli by uo find ‘play ternui tuat fs ene’ ne a eath oMrer, PI | Sunry cook pO | sunny moto bid E OVENCOLL wid ‘ DIZ |Ver case pwe > Dy Raw mid outloolt = Aunnd vemperalwl = cook Hueneotitty = igh cwofnd = -sb90004 P( Tennis = ye)= Aa = 064 P (Jennds = nv)- cf ¢= O36" Humiolfty ye ne begh 3/q Als 0% o Nowmatl “1/4 Ys ; OG 2 windy ; “6 Weal 6) 4 als ob "oy no Sunny 4-02 315 =0-6 overcast = [AIF =0ry . o 2 Ram Iq =0+3 als -o-y vempevatund yes no Ss) Hol 219 0:2 -O'Y mild Alazo'u als=o'y cout 3)9 =O tle soy vue =Pl yes) P( sunny iy es) PC coae | yes) PCR yes) P (strong (Yer) 2 ANIMA x P(os) Tr Cailuj) uf © Pyes, noe earqmeax P(oi) vse Cyes no) P(outtoors = sunny (U5) P Ctempereueuxe = cost] 0} J P (hun etilty = hgh {vj ) P( wind = styong |03) colo ry = qpuen = 0-64 (0-8 (0-3 CO 2 Il0e3) peat hte eeee = 0-0034L6 wraedy =no- BO cater begs Hebgnt sett epertes | wie = 8 hoor " ei N u 2 queen 2 taser 2 geceen 3 Anak 1 4 4 wlth 2 aoour ¥ H S qaun | 2 Bos g 4 & vwvwte 2 Janu N H 7 whe 2 dace N H : 8 wuk 2 VOU iY H ( Da Algasitten) Q 13am. BMoolel ~ Simpy Wary LO quate one *® Parti 4D ole uscon ito approve Pay OF nok ye grep Binauy One Wher crak ureps Up tore fWerovictccal rain ced Bb Ue qQuirA bon a oleusiton bared on arting sho and ast ony % A good LESION LIEL snould be a few recon ght ques won qrom a fir vont Msbance w Xt cam gemerate Kuowldge oe com powmenns 00 A. trae can ve applrd wae BxL00 Reper naive Bayor Bheoutem ousstton Atlatbuse > oUrWOK Vales Courtook) Sunny overcast ,Retn Cmemeram Ctra | Entowpy (3) - Wig logs hy ~I/y Go Sly = 0 -40+0°52 = 043 Gunny = d (a+3 T knvooply (g ) a fy LO ls ~ 2 eg 215 Soves ot : aa CAL [as Entwpry ( quercacat) 414 boy 2 Wg =0fy099,/y “oO Srat * ain 3 +2 [entropy (Rai 31s L0G oS/5 -2/ 09 2h ¢ a ey =O" ( ~ > dataset. 4 befom ofa UA, alla Roper Le { “* Atrbube ottttook + Vani (eeurook) = Sunny, ovescceud , ROU § coves, Cou [asf Retupy (8) = Af ty 04 2 fy ~£ Mtytlog > © fiy = o-4y Sunny [ay 3] Eno py (Stung) =~ 8ls ogo Als - Sls dap a dle = 0-41! Sovercas. (4 407 Ents py (Sovercast-) 2 Palas 4 — Pfyl0y 9 Oly Srach [ 3+2)| Enbw py (rain) ~ ~2!stp2 Als - tls uoge 2f¢ =o att Gaur, (2) ourteot));= Envuopy(3) - ss lou vE( suany 13 | overcast, Raun J Enbe py (s aun (a, ourwok )= ¥Opy(unny) — Al tq Prowopy (aouercose) - Sfi4 enbopy (grain) Greun (94ourwok) = 0194-5 fly ord Tl Al 14 O-S/ig - Oat by (0-91) Atm bute J mpe ; vas (Temp) = trot, reid , woot Sovenare [948] Envempy(s) = a fig toga Viy -Slry-loys [ty =o +94 Swot (ara | = Eaeropy értot) = ly uoga 81g - Aq Hoga aly =) 8 retid [areal prepy (sutid) 7 ~Alo Uy AIG — 2/609 a 2/6 = o-ay gs wot [aatt ‘ Enveepy (wow )= - Bly dogo 3/4 - 4 boqa [aq = 08 fiarh (9,Temp) = Entropy (s) -= [2u Entecopy (sv VE (Hee, mila ,Cood) Qain (9, Temp) = Entropy (sHob) - Erboopy (smite) Enowpy ( Stool) Al ty Er@ypy (rote) — © (14 Ereempy (HEL) — IH 14 Erbopy( Grain (3, temp) = 0°U4 Aly Cie) ~ blta (0-918) - 414 Co-gtt) = 0-084), Atlafoate ( Hem fotitty ) Vatues ( Humfarcty) Pf Hegh, normal | S overract (9+ 5-) Eneopy (8) = — Tig lof THY 5 [rg U0 25/14 o-44 He [sey becgtn - af eS - 3, NO-f ~ tobak-Y, a 3 JH way g Bla - Alr cog of = 0-94836 Vomal(G+IF povmat- yes ©. No~! ~ total =4 = = 6 /aelogg fy — TH Hoga, 4/4 = 0-5 A164 Grawh (@, RumfdPly) ~ Fabry (s)- JE ciag, Nownat ) iv} Enbopy/ 18] Sask (a SEIN] = aoe Oo ( ugh) — 1/14 Enbopy (norma) Grauh(S, Muncatby) = 0-44 “a (0-493) =" a ~ (o-s9i¢4) = O94 — 0+ ANY — 0-09 5935 = ONS Q3y. alata nls te a ain ete ptisbute (wind) yams (wind ) = wean, atrong Covey clr ¢ 4+5~-) Ewlro py (8) = - 4/14 tog Ay -S/i4 logo 1 = O-F>4y -~ 6, NO~2Z2 botat-¢ S (weak) = 6 ne i °18 (109.9 o/e)- 2 /gtoq>2 &/8 arortS x Q-4aty - 0-ASx 9-330 oss = te BR GG +0 Ate = * yes- 3, No-3 S bo \ Ce "U~ — fe dojo 3/6 - 3/6 Logo 3/4 reat = & =\- . Gaun ( 3, wind ) = Enbopy (8) — ve (wean, 13V1 ertyopy (sv) strong) |S! wan (s,wind) = Erbe py ( )- By Entropy (wear) — 6/14 Entropy - slong ) rain (8,wind ) = 0: 19 oe Costs) —6 (4 4 = oeGT4- O # 6358 - Oy ABSA 2 0: OATBSI/> Gran ( 4, Buoy: ee Oca eas Gram (9, temp) = 0° 289 rawr (9, humtoity) = OS !e Gra" 93 ibtdd) = "0104 H'8 at Structure ; | OWLtooK 7 ~~ 0 vencark 2 74, DS, DoDI, DIY foi, DQ,PE DY = LD3,P4,/D12, bY Din Y p3re-] Ca+3a-] Tato] 2 ; (ke Jemp| Hume | wind | Tenn ts DI Hot | “Wig weat | NO p2 Hou huge atone No “ { be eutad rgin LWA No Normak wes D4 coo. 4a eld Noval Sbrong ' Yes . | Du AW mbuve(Temp ) vats (Temp) = rob, mid, coud 8 eunny = [asa-] Ete py (Ssunny )= - B/e Lea aly Bs Lyg 3/¢ = oat Shot = (o+e-] Enbowpy (eho) = 0-0 Smtid = [r4t-] Ewewpy (Stat = lo 8 wol= Ct+o-J Eruwopy =0:0 Gaur (sunny , Jemp) = ' [sv\ Ewbuopy (ev ) ~F Fa (2) F dou mild, cont 13| Grau ( Sonny Temp) Envupy (8) ~ fs Endwpy(s Hae) ~ a/s Entropy (smiid. J ~Yo5 Fneuyy ( 8 coor) = Oe a1 - als(o-0)- fs (1-0) -Ve (0-0) = 0640, Auisfoute (huunsfeity)) Vatuws ( tuumicti ty lnogto. Novia) Bunny = [e+ 3-] , Eniaopy ~~ Sle choy y afc ~ ls Wega Ble = 0-44 Shigh = [ors- J Envwpy Shugh =0-0 Gain (Seunny , rumfetty ) = Ereopy (3) ~ kul = pee Ve Suegh, nov wa PCOP| (sv) Gam ( s Seenny 1 Hurmiacey \ : = Entropy (8 )- fe Enbopy (shin )-2 J Enbopy (g Nosuvat) Gta (se unny, Humbatty ) 0-91-3/5 (0-0) -2/s (0-0) = 0-44 Atiniute (wind) Sed (wfnd) = gbrong ,weak g funny = [ats- J, Etcopy g = -Q/f 40g Ae -3ls 4eqa dls = 0°44 Ssoong = [rst-] Enteopy = 10 S weak = [1+ “csbona) weak = [12-7 ania ee 04.23 - Qf3 UogJaals = 0-4193 Gain ( $sunmy, wind) = Enbpy (S)-E ASM) ential VE Laborg Is] weak} Grain (¢ sunny, etd) = Enbopy (8) - 8/5 FDO }Y( chore ~2)s Fabopy (sweat) Gath (¢gunny, wird) = OV 1- 2/5 O~ Ble OTE = © -0142 Gann (8 eunny Temp) = 01510 Gaun (8 sunny, tumPafty) <0°4 Gran (ssunny, wind) = 0-%U2,,. fey Da [ats Sbhuceare * and - PY 4 “J ja [senna] Raa J £p3 £ Da ds, D6, eens bt, DIO, oy Y Honrbctft biz, C 3t9 “| / \ 13 y : : C4 +o] Hig Nowial yes goi,po, Cda/dna b8 4 yes No Dat Temp Meum tati' cy wind — pf t DA Hitd Heh weak, y D&S coal Now woealy "i pé coal N04 strong 4 pio mild Nox ities sys Diy miid tua, Sa erong' N \ Fp Bp {Ply diz % Ve \ oe _[Heentaatty | ca vo -] seerd * oN | a Ds, ploy 9 A coal ol eee ba toa, F ok, ie 2 ey i ye. D psy NO ve we Lim can R epowseton & oa paba poink & DA + f aud sg] o : 8 3 . $ Live ef | r g Reqousisery a x Trolepen tony vanabte © Xaxcs ~ Tnolepent variate ®Y aus - Dependent va nalte x Live a Regstssiory onde uo best “fit uti fore Qa modet *% Line ub used pee Powauiteing . a. Cone ELE US ctepencterrt yaswalse based on one O77 Mae a ED LILIULS Pn depen oluint e Ub FS Leu ev OU vaseaies, OUP y at Loestic ReGREssion (OH@ iam fe ume nvost dimple onal morte eppivent x Ct meniod fort biravy 4 clans peoatson. proteus bal Loaiistit He ior ug a Aeperrseol neacwune Leasing akgesei tars tak accompatiish, bihasuy Chapsi kaon tosh by pouciiting OAL probabil 5 oukc~ome 0 ovecrwaon (yes, no) prow e . (ius, Ones), (Youre oy Fae) ow > LELO [ Ojvepreserrt’s weqatuarr COU a catego ans, fos 4 1 me (ty Kepocesents posuewe lars L pevermine tue probatiity Oh hearts ha Wiel Lue WEEP °| seeatie moder med teas. ttatton VOWNCOINAY “practisiover cam de bese A Alp Lucw ab wegne , ecenUse, Olt. usting wi we can poate uber dae, pewon unis Sup ser from jesus abhack OFT any otun = meoltak cornpuccasnons oh enduauiing mo a unt ersily can cheberurine poerloas i UE 4 a Into a pas Pusshare a: Poaster usey Aqgseqabors ftw hOWts geuting accept ail CORMULC IHD N. aA, ‘ -- am bb undrsbaun din BEAD P 4 4 - poomotrowat oo Vawanes and applying, Logos oun ge riek oe aL goritns - AcWwantag es WOKS WEE oN wuen dabaset ' \ % Ufneauly 4e; g ne ieipon io~\ \ Fast up eae , ALUAL¢ Tmpenrent othwt Rooulaer ¥ ° SiG metnel fh HL ae 4x) =_! +e € ~ hase Of, naewiae Log anita x

You might also like