0% found this document useful (0 votes)
36 views7 pages

Assignment 2 Solutions-1

Soft Computing

Uploaded by

shreyas sr
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)
36 views7 pages

Assignment 2 Solutions-1

Soft Computing

Uploaded by

shreyas sr
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/ 7
As) P= Woo ierinigresce.ns (3-€)346,-)1(0,-2-€,)5 cera} “Pela em 2 ere lhe tee oe 3 mel4 - a \ 7€ Bre a os ae a a Binay ttresmid function on Symmettfeal hatdlimir -famchion is aiven wy &(y) = +15 Ve ZO -15 Ye <0 lek big bee 5 & wetsmr veers be [Mehs We, 2] SANs Sisal] apa mnf = te [aan tot is ° = Wy, ho 4 wg x0, IS Or PORy possibilty 7: Mh fleas Masel] + T= to eftnute + meearcot a zl EW 9 PW, K24— Wyn 2 O 2 One possibilty ist Woy A Dws,, mall | +o} 212 af me, KG) +h sG-O} = 1 70 3 MF [@eermay + G-Man] 70 9 Bhar Fearn? erie Wi Fone -Possividy ts 2 Wa 52 tf =o Wa, (F-4) + 4,2(3* Y= -! a{ly 4, vole] iS a4 an G6) i = It [ema + GE 4,2] < © EW, + B42 60 G4 3 One possibilty is 1 oWa,, 23 Mae 7 ° afLh 51 wel] +} = 1 > dfworeyWs,, + OxMEnt = | 2 dha [moar = @OWs,r) % OFWs, xO - 25,2 =! % one possibly kh : We) = 15 Wea at -é We aot =o tw, -2 West =. Pil 16, wll-*| t 15 ef len ea aN [56% - 2,2] <0 % We, Xd — 2xWe.h 0 © 2D one possibilty fs + Wey = 1 F Wea big 25 tT 1 a oMig 1 3 aya? | 1 a Wess 1 | aha" t ve A 1 ' 4 B Wyo © Ad At (5), (62). @.4) 8B: Go, G,-2).G,-a) Let point fa! clan A be denore_a by ‘ x' Ler points from clan B ve idensra 14‘ O' The dedston Bounday con be drown a stewn above. Now, the welght Vecbat must be ontiegonel ty the decisfon | bows » Os wash dintction should alto be Tm the diaechon PAnking Prwouds clam A poms. Tb can have amy lent. Se one possible weight vecht can be : { we [0,3] | | let PR be amy point onthe decision boundory + | j i. P= (fs) | | ot |. We Knew, for decision boundeay | WP +b = 0 > b=-W-P - -fo a] at = -(oxiesei) =-3 1 “The decision bowndary Te WkT+b 20 | > fo =I} |e =o 3 Bxuy-B=0 F Gal | ‘ aren by. Vee Potur belongi peims bebuging, tr clon : , wd can check ony point (Ur atlivaten function is hardin) fy Gs): (19: catlatapeet dtealt)sb dates afr olr]ofesiet Pete | aay FP clom A will be clamified a | B wil be clomified of D | = $y = 4 @ Logtste activation function is given by oly) = ner +e W= Buty- 4d Vy) = an-By-4 ( ' Wy) = —— ee $0) ren 14 ere! \ J = a, &(v2) = —aacga = a ae wos esr - ERE V3 = Zay-o.+4 Va = 4a, + 6a,-2 | . | | | “. (03) = —_ = ———._ => 14 arma eee ate 1 1 44) = ——— ~ ——___ = bb : 4g Aoteare ’ gp ettg Ong Y= 2b +4 be 1 1 | TE | liner 1eerrree* | 1 \ 1+ PME “Ze ec i el ee peers | Lene lee 4 T 7 — — e I+ e i | 4 : | re ae liaesmeet eee i = € e i 1 af Vole) Tar a velliggeana | *4; 14e [ @® v neal | | A ‘a X=) 7 = a) % ql2>-s, 3) 5 %= dTe-2, vey" 3 RBs bts,-102T" cos (XL) = ap (446-124) ye At a+ sib l4+4+9) (4x6 las ate [rare = 2-4 = 2224 Vig Ye = 2-14 6 Angle blw & & Xz = wr 25) = 100-44" cos (Xa Ke) = b(6+2- 8 VEG + 4+ {ka +i4) H (c+2-12) Plasarajaeite s-az 4 Al - = | 16 i Angle bw % & X= cos! (2) = B6.1e" i 16 (7) 8618 aot = — 3.84" oF is Z.247 lem thom orthogonal! by | os (KR) = Ne (-6 +3 + Via) | Nig@ +9 +3) [E@+i+6) | : Ye (Corseste) lataeslanite 2 Ste | 3408 Vie We 16 : mp ace -2+ Vig “Angle bho XR = cot’ (248) = 86.57 “35. 90? = -4.5° . St is 4.5" le than odteqonality @ al °, od 100-44 90° = 40.44° . 9t FS 40-44" grenba than osthogerahty! “Bt ts an auto -astoclolive Memory ssdhe Tnpur vecroet and the destined omtpur vecroas on te Some Ham = lla -3 ey Yew + i[2 -2 -ay Rak -ifs a vey" Memory Makix is given by a- Fu = HO + Fe +H@ We) = HI-HT = AH = df: BS 23 -WS B= HW +H + Mi 1 iS 3 “sh Mat r ~4 4-3 3 16 . a) te) 3 He 8 3 3 ee GE . =28 - AG + 3e 14 -3 +4 16 NB AIT + HE 3 44G VE t 3 if 4 6-28 alc: -3 8) = il 6 4 38 i =)? = _t 4 “A 4 : thle NL a ke | | As pe [; I ye a {r=[4] stae4} {r= [3]: ty of : fae[ > ual} We) = [o o}3 bley=o 5 Le N= 4 | Assuming activation —lunetion Fg ght “Unni 0H valor funchon | hey QO) = 15 ¥20 oj veo @ ee) 3 8 45* Trerotion! Fron Py: Ve BE)R+ bL) > ee th-w = o-t=-4 BO) = WO + ae To = [o co) + 4[2 en = F2 7) BW = be +NHe = 0% 104 Poa Py: ea aOR oto = [-2 -3 |+o 2 1 9a) =a@=t=% | 2 he 41 > e=t,-a=si-4=0 “W@=BY = [-2 -2] 5 be=e=-3 | Fon Ps: | ¥= VO) + ele = [2 -af2] + CM) wad 9 aQ)= RD =OFe fe “[s\-* =o & a) = a) = 1 = y™ =A tg=0 5 e= t3-a= 0-0=0 -. WG) = B@ = [2 -7] s b]seQ=-1 Fon fa: = WOP+ eo = [2 ai] (a) = —2 2 OQ) =O) = 0=% las l o> @=ty-o =4-0 = 4 : | “Wa 2 BO + nile = Es + ap -di= 1 3] | bl) = bE) + He = -1+ 44 = 0 | 24 iteration t | | Fon | ve W)R+ ba) = [A =a ale o= 8 PeORACYHORK™ | tjs0 4) €=%-a4 = 0-0-0 “We - B@= [4 -3] 5 vip=wla=o Fon Pa: ve GOR +H = [4 A b]ro vss gen FER t=41 Sest,-a=1-i=0 ‘ “WO= BO = fH -3] +b = b= 0 © | Fou Py: v= WOE) P+ OH = [1 | +0=—-4 9 o(y)=40-4)= Ona tz=0 5 F=t3-a=0-020 “W@ = W& = [- -3] 5 P@=b(6) = 0 Fon Pa: yay 3° 1 ve Wht em = [ -alfi}re = 2% o)= b@edea tat ht > R=u- as 1-450 Wis) = W@ = [4 -3] + bly = PHO Find weight veerr is [4 -3] Fin bia is O + The aa fon the afven protiem is as fotlews: =o

You might also like