0% found this document useful (0 votes)
54 views24 pages

Soft Computing Unit 5 Notes

Uploaded by

30Abhishek Kumar
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)
54 views24 pages

Soft Computing Unit 5 Notes

Uploaded by

30Abhishek Kumar
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/ 24
cf we nie Se _/L— A Genetic < Algcrith= (Basic Texms) 4 Evolutionary Algoxitts : au Evelubomary alagrithms ave those al wei thos a which follow Lome biological and physico® ry} behaviors. mi a Biological behaviors! <8 oa 2 __Lvolution >Genelic Al auth n Human Newwous_sy stem —> Ati fieial_Neuvat Netaork © CANN) a x Behavior of ant colony > Ant Colony oplim/zaheo ry CACO) Physical behaviors | - ~ Learning =5 Furry. Logle CED doalalad daly *_Swarm/ng of particle —> _Payticle swartrniog oplimizalion 8 Genetic Magortthm = It i$ a subset ef Evoluvonoy + Hy, algarithr Uhat models biological proces $ n = (Uoenies 2 Evolution) tw oplemrze high 7 7] complex aa Cver difficult ‘to Snodel * | mathemati tel a wo _N a probleme whieh, ave computa a expensive “to! gpives oc_Invvive Jape” num of pava™ eles ey che LP ele | scanned with vams /L— ——|Rackgrand of Gencle Algocttrm (A) |e Introduced by Prof. John Holland Criichiga™ _ University vs in 1965. ae Peek etic on GO od published £5 1975 f yOCe SSC. * St is based om Two fundementol bielcg icak Evolution ca) Genetics | GS. Mendel Cises) (by Exper 3- C. Darwln (1975) Genetics + bvanch of. biolo deals vith The study ef qeres genes varia Von X heredity : ‘Evolution: fvolutven is the process by which population of. org amisens chawg « ovey, genera Hon Genetic _varlalers Causes these changex | [@ = Scanned with Cams os Genetic _Algortths i Genetic Algorithy (working. mg pes gd , I ; Genetics Evolut™, r | — i. » Z > | cells Heredity ‘Divevs/ty Spledven Reming , (Basic _building_bleck g 7 7 in__living bodies’) @ Heredity? Dn_offopring — a l d ha many of its 2 Each Cell has some Sets Chavactevstics of i ‘ts pavenfs. e chromosomes 2 Diversity * Variation mi 2 ~ (oman 46 Frogs 26, “ chovacterstics jo The. = mosqui tet a &) ne, generate . ~ | @ Selection : only a small” —_—_———_ J " - m Chromocome ave the percentage of Off pp mT strings of DNA (a's and I's) ‘produce A = a al = ed i|Lo |} | Of Unigue ad @) Ranke offspri a 01 Genco fall [ek] survival enols oy » (yartant fore of agen )__their inherited " Chromosome consist_of- Chosacterstes wy Gene (black of DNA) _Csurviveal of the best) eS + e 7 ral | Fach Grene encodes _a gpecefie eo (4 hair colo age ee) 5 > | —— ovanmmeu witil Gall lp ~~ /_L— Intuben bied Genetic Algorithm a es hl only Gove peoples owe implemen @ policy Like this: Consider _o hypothebca) Stuobren o's bat whe LL (Select ely alt the goeel people using 6. Speci fi criteria and ask them ‘to xtond thes oenera Hon by having there children U J ) @ Repeat thes fot a fw) geerations Maeno 3) So after some _genevahons we have an entre geneva. ion et goad people. (4). The basie Idea js to make some changes in the input Cie jpopulabon ) such that we get better output Le. e better country ) VARs wA3/3.% 4 O88 88 A lA tla na bt Genelic Algostthna (GA) xe renee Algorithm is an optimization _technigue ~ which ‘trlec? to find out such values of input © So that we get the hest output values or results for highly connplese problems by tenulating ‘brologleat processes (Grenetes 7 eS aod Evdluten Flow chart of GA (Newt Lecture) € ¢ Ml ——stannea witn vams = —_| pene be tiocen Genelec algoritim and Traditonal — Aigonthmn qo GeneTic Algaxttien Trodi honed Algorttra @lused to find the @_3t provides ee Optimal solutvens for b Shep procedure. tb dificult problems . five @ problen @ | used sn artuficial @)_used sn _progvorem ing Intelligence machine learn mathematics ete and Jesoarch fields @ |More advanced. Q@_Not advanced (LTH wares mao popslaen (@_Tr Werks on @ lof po! int +o Search best ingle por to arth es among them the eolulon, of O. given pproblern — @ [te amakes use of E t wakes use of (proba biliste ules, determiatste rules _ Scanned with Cams jj) Pabe sayy, cher A : = CFlow chet) of Genanhc ALgmén Whe asc Shuchwe (flea chart) of GFenebe alquittrn AS a oven \ | \ | | Populerion jnitatnedtien witten oprah Fitness Fmcties Calculation Honk ph “ ars Wrtes Fedleving ay? ; a Population (nihalization 3, Population “> coniidered aE not atl tes. porns Sowtiong ¢ Ae ye given problem. So Fudavideal CSebubion) 2. WT ests Ura ChYemesome? < a Ont Solution Ammy a Sek of Solyhing. ay epresent ae —ovannreu-witut Vain Far each Chromafona Pobutaka, < A» UZ on. Sp a of 2B 4 dofed OS A ee an eaieak | “Ware = oe Site, g Channa Gre | . Ore ee ® = Vy Genetic oe MaRalte & populate qi) a ee cena ets Populaye Fea Wit oe qudiuidurts selected fey reprcthetir iy b onten Pynass Score: oaed ae Pr Soppess function Showa bescer ha follosiy Cagre Characins? \ + Dm Gane Luncheon shed bes Ke . Compute AR Gerty Feat CH) a+. mst guanditaively Proarrs Kees myilten Selntion 24 b OY how Bie Wwdiuidekr Cay be prdaced Primates Biter Solutions TTT ETE PITT a @)-sit ae i cl JEleotion CParent Select Parent Select “3 ee proeess of Gelectig, favewts wich mate and Yecombinc te Create off- sping for the hoxt Jeroration \W tts fre bas of PAV duds b On teow Srnec Scere ave Selected and paws 748 Fores te noxk Gerorattow The Gatos 5 dd Gre oh GNEn : Sn ate oe qedivicdna can (a) Bitnacs Pripetionte Selections wn Tit Cosy | becomes — parent iis probabil eich > prpotnad fo Gs Fppness: Tho Deplemedtion bc Gepsass prmpaincte, Select at’ ' Ci) Roa let @reed Selec - cw) Stochasve UWyersah Sara ling Cu) Townes Selections \n tommamen’ Selection, eae W-Wwdividnade Frm te Populaeh At Yarderm ag Covet ja best Graney fem fe becom 6 parerk: Tha Sane process repeated te Select hoxt Perent- © Rarw Selection? Ranw Selech™ Abie wows ott pp oe yagative Srnass Galess aud mostly Wed Whey ft Waiiduads ines populates have very Clore. Byes Valuse (A) Random Selection: \wAtis Wtthed, We v2 Eapeeneee oo | parents Fon tis -@ariny popula |) Cro SS OveY Cress over a genetic operate cred to SS pli progremingy of 4 Chom Ty oy Chemesents from ond gevoratio, be “tha, heey Aris, tuo parents ave Selected from tea rathg bok ak ryardom to Cresrovey Ty ovcoy +e prada’ oO FFs paby Y chijare) - Supency A, = (eller) ree, felellelelry domly Se\ect- OLGIITEY witht Gall is | Wea arcretiy fo pheee 5 cca y Coragen feet taker of cressvey ove ' CW) fant on Cresseres Chi) Tes pore Crostovey Gi) Urifem Oni © itform Crosseree (W) “Three breret Crodiever WWD Suffle Cresever Mutations muparn 2 defined ab a Seale anda taseaw Ccherst) {ih fha Chromaone of ts OFFS ry (Child vex) Solution dutng He Grevia +e ove fae So\ ution: St ds Uned $e prartan and Dehedste diurrity Th rhe qrensic: popularion Diffevet types oF Mutations are CA) Flip Et Pretted Chi) Bowndary Melerd (iit), Interchange Pete WW Reverding meted . © Convergence ( Terminedivn) Condidion? peace Conds es day Vaportset stem GAN Srd> Gone ADA Ffen Forvesing Tenrinatn hdd Ry Tre Lermmation or Conver’ Th dtternindion hom 4 * YSnadey Wwe jeep Ors © (i) when eove hod Leer ho populadin fev K- Geredint (A) wren Wevesch Se absalee he of gears (Wh) Obes axjeckve Funct Vatu had Yeached a Cerin Sree dated te” a Twapreve nent TR tes —_ ———<——scanmrer wir: turvar i Generic Oherates! Genie operatns ave tha operctur Wred iy qenstc algaliem to guide 122 algostan = ee QA Coluten fo a Ziven prblery “Wese operates alter (change) tha Genttic Gmpuiie OF +02 offspyng Ccliidrer): * Wire Operates Worn Th Coxjuechon Cork Ons antv \y ovday for tes alaeiten f be Succesft: Wher Of qenstic operstrs a @ Selectoy operator ( Suvtiual of the fiert) The pimay objective of tas Selecho, Sperstey as te emphasre TAs good Solutimy and elirivate Aes bad Solves wa popvietion We Weebing 4es populate Me Constant Different metrde C Sitnass fanch ow hament felectie etc) exist fox Choosing 42s best Solutio @ Coro ss- oveY CRepredueritn ws ; a cr Tex operates Are] used ThHés Vebredsets preeess Hey tawe were tan ont aie Sows t CChremesents) and producer & chd Soh Sve tee by Ve~ Combing, portions oft od Solutions, ths Genetic Akgen CCA) A e Wwely te creak a Lefer Sarytin FO Continddion mor ——- Ravents. (alslelielelalW] onsores a Cobley rent—* kp Revere re TaleleOlHla TF) rte certo Cail YY : i . icta tion Dheratey Te mutation © peretey enGomt $F Onetic Muertty amonges+ Solutims and AHempte to prevent 462 genic alarhiim tos Wve Solutions ck ave Very Clare fe Ona Arottav’ * Wn wmitatimy & Ven Solutio brag Change entively from tes pr|ediond Soluhy +o ave A much betey Solutio Before (rutaie fale le blo 1qale/ — ==. = We > Afpev _mutetion a le lelsl@ AIF] Pftey_fnutetion, » ovuaimicu witit Udll it Enading is Gite Se Eneding: —_——— Enading 2s a brecers Pradiuidual Fers- Ob Solteing tex freblem Tyrer of eheoding! of rye presen dg The en Codiney daperds rally @ Binary encoding: The Ayo binary, Shy? Chmesme-t Ole Wie Mle) a frost Cammen W049 of enadihg % Lis SHY hrometone Coniste of a eae o a each ss 7 e a vepre Each i+ 1 sts Shiny tem Ewery Shy Selgin eters or of ts a te eA Solus but net pac iS és efey best Sovudion: a codihgy each Ang, | TO eh octal ence wes & (oh 7)> chet Whe set of 9 a Shy Chrvomesornze) opb rich “once COLT ®@ Hexadsdmal Encdre: “This enceding, Uber sags madd up of hgradedimad numbert (o-% A-P)- Chrvvrrofome- ) repulse fs] chimretintc | _Chomesme ts EPUEPIE] — SCanicu witil oe iS ‘ @ Pes mufparion i sinc eineaoiee accents Wy bev ina tation encedshy Y eu - <4) Claessens AS & Shug of ieger|vead Cea fuge Choremesemt=) (ube Mee | © Matie enna te \nvalun ecedtey, every C U2 Can be ang hag rem afore . of Suma vatuas- Val chracterS y — Dy & SHY Commacted fo TE problem W697 weak , Combi nadtl=y oF ads)’ CWwmeremi-] rasab Lt! cme Galea chet [frou] ened (2) AE ee) Favent Selection favent Setection 2s fea Procer of Selecting parents which mate ard Yecotthe to Create OFF SbSing for ~fea hart gensradver DM Finase Poopotiomate Selection —@® Teurnanet Selection ® Rank Selection @ @ Radom Selection Fitness Pav potionate Selectiy: . Ti djuiduad Car becwnt a parent Waris Yretinds <9 ine Spepevioned ao ths frase y ir ae wre a Ps ov : a of yratiegy Gate [rdividesd have a av ae gqeennaiier on , Me cet feriees PE P Types OF Sebrsss Popstioste ce ge Vehennd Sati g (iy Roulete red Selector OM) & \ elle ig hat Se\eclimy? ®poul Re Qosewe Gree) Seledio, Hes Grcalar Breer ow . Ay Atg nore givided hte Peots) Ores) sf fp aatad TES “papal < id . S . Tee ahha: eis a Reh ee f Fes arcle which 4 prpeiont ctortes fiteacy oO Ca wed pate 9 Chefen On tes Whee circocince grate conasQ Ar aeteted + “e are Yeon of tha Whee® Akch Comer th font of tn fixed peiht Charen, } eT . OLAINICU WILT Udll Ie Foe eee eee 7 parent €, O By tha Se YN F Wades . Ona parent, Sawn preceLe bot youlete Coen Se SE gt w Cleay +t 4 fittey jroividual and Heevefve & qrestev hak a greatv He ov jes O Chance of Randiny Sa frent of tts Hed poet, Consve Ten Canset Dy ‘ . ALgenrer O era tts FNeet of each {radi idnaQ each jnatviden (2) a Conhute +t. pronabiliy proabilty (wD Cormnula tive Compute +e ® Gena Qrandon No esol? ° SbF ve Lio select Lvs CIS ms, ZA Such qt & ec Chrwes © e\se ge) and) Hi “Ha readied Repeat SKP @ ave Selected» oncedk, Leleck em, at gute spay 42 Roulebe toes Ditpy Tread of Jot ht fixed 4 ont, We have ravibic Reed pointy 28 FI rer ceri aS Figure: at ktis, aAlh ea parents ave Chefen Sn Gust One Shiv of +e2 cnaxr2? Grea poet-V AL a) Tourtmarsdt Selectin meried? oR \nitis, BE Sele ck oa dna 8 frm tes population at Yandem and Select tt berg out of ttare $e bows ao porent So Whe Sem Yrcet y wehested Yaar parent” Cy, Rate Seleciin MAES — Hae Peete, OS : Apacer Selec} parewkr fran tee. <2 Sstihg Pepitetns qe ty he gelechtin premwertour ards Fitter Sra Cressovey and tas +yper Cress overt CSS over Wy A genstic operetey teat Combines Crates) feo Chymesemer Charexts) te produce @ nas Chrrmesma Coff tpg” *" Tra (daa benind Cresrevev ky Aterr 44 Chrmmefna nay be better tan both of He parents tf (4 tavertho bert ChractesHr fom Gach of tea parents : a “Vyber of Crvsfever! oe Od One bei Cos VE vey perkt Ad selected and Tt parenkr are serpped TS Ber \n ove fom Cressovers arrandem Crr S550 xais of WS tue pow offs pegs? Cea eT [eae] ber - @ Too Pott Crossover: “Tbe rvandom Cressevey point Ay Selected ank Swappedto ant we offspiiys, witt Garis | Ss-OVEX, |W @ Uveferm Cressovew | We dowt Aivide Chomemns Trte Segrety rather | We tvet each gens Separetly, We Cah Vag | to ong pavent te have hove genshe mata | {he ten cistaven Coffsbing) than tes ottsv: Oe Can alfo Use binay mash th Utdform Crfrovee Ske yieas, Parent} 0 O11] 00 Parents, jloole! | : Ww Crild-t 0 Jo HII Io : C Bigred teParent-4) Chid< pop toll | C planed doParnt-™) | ence as | —= | examples Birary Mask fooo I} 16 % Parent-4 ooollloo arent jJoo lol] I) C yessovev (fom) Chiid-t —g Joo 110] | Pavent-v Chid-s, | ool [olO OS anITEC WIT Cat I. D Heep ttm conser of \n vis aetied, fish “es i Afferent bits Th bavet-l ond P ie Swap tee rts ih offsheg ave different Else Yernsin Tes awning drrence C Mo" enti) Cale of bidt reer) Pree ele[e) J ] ) fel _§ pokg-) 0 1 stadt fol) 9 Eee qrilatele Tel ote Crvssover™ vents ae Be a, Gren parents ave taren’ oo Compared srt each SH. (nite Wee : i | | | | | | | Porent-&_ To ]o | | | | i ave wht (+ 2 taken bee a a a Lott. barendf ee cavel fer Teacff— bit OF | : xe AF byt A Sart'h i « 5 b+ . Wn offs Pa oF 5 7 Stan WF Ce parewt -3 spy | Parent -I calelctalolel da] oot (BE eal> EE _ Pavert3 [ola ale[o[e EA Of PHO: WU ———~"~arayelelela] al © Sufle Cyvss-over! \w Pr 4% Sele Crerees bine AB Selected Ths OLAINICU WILT Udll is ot tin Fd AAs. bn Wee Ps rs bomt cliuides 102 Chrwmosores Ih te parts: SE \y vote peverts, Swftle br (gett) iy each PIS Wang any FO Se Attar Suttle, modified porente 278 pared 8 ross VEY Ar op pees, Conde = am \ Parent“ ares rate oo ovew” | (Parent) a Fek PB i (Parert-Y) ! ane oespeet pL of spivt ofesboe, ay pHeseel a tal —ovanmeu wit Cains han Mutation a 3K Mutat \hsdien A> performed afley crsfover ae Ay A> A Fevehe opevatey used to Iota, Genstic chvedity “fam OF OF & fopulation of Chromoses! Se Mutation abers Ore oY ymeve gent 9 Q Chrmosoms frm ot Gyiiak Veale SK with ea noo gehe Uatnt, 168 gerotic igre ynag be able to avhve at Letter Solute by: Wtky * rwtatioy § CENpEHD Ch Yomosom € Ys Chrometome y the oe 2B FI bP Sond AD Tres of (uted OD Flib- Lit Me-Re eateg ov a t hy ynutatioy jh OFFS PING Chromss (ons Cov ves bon aing, vir (ater ovr it 0) and mutateal Chve™s @ produced: Teli Jelot Te / offspyry Cham Som Ulhiek “austin, Sree moggmoo WwW mura Chrmesor® To ofall Boundary Metged “he mictateh oberrhv yeplacer fe Ladue of tthe Onh i eieey AE uppey oY Rewer bound Pov gent (Cheer Yandomly) © ) bo teak ——scannrewwitrcarnn OFF Shing Chrome VPafsly [S]¢EEI (uckation CU Her bio Mructated Gooniene Tifa]S] BEE £ chide CD Injercrarge Meléod! Too tren are Chefen wandemly and The pode» are Chrome 2% os Co ponding fe ESR, © Vaper change offs ping Cromer yy A posth™ py Chole © Reversing metfet at ‘vandom ana tee bit hex 3 posit % DD» yeuersed do produced pmectated child + _oftsbinge Chern epee a mutated Clooretons one OULAINICU WILT va te Convergence me Corwverqence Criteria in genelc al goelthy, = SN ON (i CTeymination Condi W OF, Corveargene Gill es for any problem : oF GA 's correctly implemented The population Cset sdutions) evolves over successive generakons with Pitness value imerenting towards The global optemum . So Convergence /S the progression Lowards imereas ‘a9 Unifermn, «“ h population (set of solucten s) 1s Sqid to have converged when 9S7- ot The Indiiduale (solusens) const bu ting the popalaten shave the Same fitness value. Convergence Termine buon ) Criteria ’, ONES Each ikercboa Should be tested wiTh some Com veg ence test. Various Convergence Crores) Grier Laat are_as gio Or golution 's -founel that satisfy the objective Criteria. fiyed no. ot generaom is executed. tation time) yeached. teal buolget Comp ei hest oa solution fitness ¢s reaching or has yeachert point such Thar successive teratrens no longer P @ Manual Imspeclon : © Combittaten of the above. SOO a roduee better vesult, OLAINICU WILT Udll Ie Appleaken _c} Geneve algortyms Con :) eneche Algorithms aye pYt™ari| : : oer of “various Kinels, ie eee ie op Limizato, in other applicecion areas as well. 1 OE alo used C Oplimization GAs ave most Commonly used m optimization problems where we have to maveniee /revevent a given ebjec tive funclen Value unde —— Re ob cont ratats. O. Neurol Neues “GAs are also wed be train newal networks speclally yveeutrent neurol network. 5 @ bmage Processing: - GAs eave used for various Aight | image processing tasks. \ @. Rva omalysis = GAS bee been useol to detemm. | the # s\ructue ot DNA. | © Favelling salesman provin '- GAS ae -also used | tp sote., the Travelling soles rman problem (tsp). | © Scheduling Application += GAs ave Uuseol im solving po vocious schedulmg — problem. @. Machine leaming :- GAs ave also use nm GBML (Geneve Bose] Made Liscenceag,). © Paremelric design sf flrceafits Q@ps are also usec te design Quverafts hy very 49 the porrarncters and evolv™ better solubtons. @ Robotics |- GAs ave used te create, [eamlag yo bot: whieh will behave as a hurvan, ave useck to Chavacterize various © Ecomomics ‘- GAs ike .cebweb model , game theory | dtm ord asset pprvemg ete,

You might also like