You are on page 1of 6
Decision tree clatifticahiony a TD3( Thevalive Diedtemiser 3) Bah DOR TS sere ee eter. by T. mitchels Entwore : Suppose we have q data set s, H(s) fis 4 measure of the amount OF Uncerteinty 45 the data s ae abate ara Pa o0 = Paty fe baer H(s)= &_ - C) BSn Peed Feaacey |, eS cec 2 ba.e9 = 2 Retfinjea Sz dhe dla Sel for whieh enka iS cheulhlea, C= Set of elemes yn S. comsiaey 8 Claka ah exch provabili 1b. pee) =H Edema ine wey. - 400064) # ekemens yao * bj,¢ =, When WIS) 20, dhe See S is perfectly clamifica, AM Lemen 7 Same € Endormitien Gain edements yn s qve OF Tnfermeion gars TG(a) iS te memset Th the aT Bere Th enteopa from befere do after the ACh Sle APAL On an_attribue Ad Th other toordg) hoes much mS uneerleeh js reduced adter sphiting Ach © m Atribule A a Ta(a,s\e HS ~ Fim PVN HO-— Emwops ot Ser S Gyo the Suyseds Creaked fem Sphitig seas by 0 Gktribue A meh Heb Sa U §; Ps) = H Cheredts in €/ Ht EXemenss 9 S MCS!) = Emdroupp ob Subsed Sy Seer 2 Compe PY Endres of Se S. Fer every attribute calewlale gars 3. Pick ane higheed Fafarmenien gre ated iS key ™ Reve Prey AAS. VE, ra . Consirey eeather dala Seb C: frye, m WGs)= FPO Ma PO = - 2 tg. ( He) - F ba, (s/n) Divie thee dala seb based on Outtlooic, HCS) = H{onttrvn = Sms) = = Bley B- 3 key (3) 2 oa7) Wja H (Coutts eirsct) 2 “E30 = 0.90) = 0, H (ss) - abheerc. wre es -2% (Sse H{utens reng)e - £463) $4aCt) ¢ = 09497), a + PCS = Sig, PC Jar PCSs)a 5 . Avereye Enteeby fer Lhe altribule outteic = Sy gu # Ss E = Bie je 8 OUT) + Tee P a7 O97) = 01698 Tfsrra¥ion Cras La(as)> for GH ribule Outleok, Ode 06935 = Oo: 24%, Bivite Yee data set based on Lem perature ee Se aa St eases ba A simkessture YACS,) = WAC +emy> how) HCS2) = H(tempa wild) - 2 hal (%)- 45) PCS) = 4 BR 0rgqied ~ dea (4)t. -bhoan 5 , PCS= 4 a wo F'G)-blac), ks)= A = 0-8n3 + Be Og193 TE wo-ans = OM HC5s) = H( temps coot) = AVETERE Entropy a Trtmmblion ta, = TA(S, temp) = 64g 0°91) = et a Divide the daa set based on humidity, Se ees Hs) =H ( humigitg = hign) {- 3 toys (2)- $4In( P(s)= 47 H (Sr) =H (humiaity ner) = wteg, w+ Sigh) PCs) =~ Average Extrepy = 0799 FMfermation Cas = Bee Divide the data Sev based On windy 7 oe Se H(s) = HCwinay < False) = “Fha(4)- Bea, CF), rcsn-(8) = eh (3 =) ~% *9.(4) “Bkeg a. Bhs (Hh) = 6 Aver fate by cy . c = Tat OO + 8) oaqr Trtomdion Zeni = 844 - 0-892 = yoge— Deeisiom Trek New Dala Based mm Sunny ee OudLori, temp humidity winds play Sanny fatie he Sammy hisne true no Sunny high false no Seem nor at fuse py SH nny Nord true yee HC S| Sees) =H (temp ek | Some) fe keg) 7 PC = gy HC Si[ 54mg) = HC tenpe mize| Sema) = -bhyc2)- 2 fan 4) H(>9] Gees) = nC Fem exet | Senay) 7 1. PCS)= a — 4 PC Ss )= ge Aver ye enkvepy = Tnformbion Gain = Ce Og HCevrbreks Sonng) 2 o-94) - oe HH (burnhatty = has] Sams) = om H Chiomaady = mreemet )Ss2my ) 07 Tn form, Fam = o-g7, Vhy (hy neat indy = Su - £h,C4)- 7400) o£ - ui Ms ~ 4 2) 24 a5" tA 899193, (Wingy = Febee] Sang) =~ FeH(5) - Average Exreory ta dormetion = Bela be odd = 0-98! 0-020 a Lederman gar = 097-0 9815 Humid ingermnalion geun Dalq Based on yaing oud Leow temp rare) 44 windy play wainy yiea high i yee fay eel Nevinek Flyey yet Yeiny Cook Nev mek true no akae§ wkd Mev inek false met Yat mind Wow 4xug ho aie : vi (temp 2 mit2 | ening) a: B hes (4)- 5.4) 5 orgs it a HC temp = cet fring) <= 4 be, (4)-b to (4 C Averqe entetys Laos + Eel so-gs) ~ Tradevman Qeys = orqt)- OFS} = oe lo pute 3A BC hesisis by eaies) eV H( ars Sy whan cory) a = % he. (3)- £ te (4) Th a AYER Entrees a. aye iy = O95] ee 0:471- 2 TS1 = or020, Ome ay) + Zno-ges Tn formation sen) Windy W( wingy = Tout | vaing) 2 ovo H (wna = False | rainy) = be Average enkye py a ta Indomeam gah a ea) To forma Main Ma tine cM yea ‘yal gq ° Predc hon PCeuU vaty pew day porn 4 ze au Stas Eeabt SNS Twins ple "9 x= lov vy Sane Wied righ ne ”

You might also like