SlideShare una empresa de Scribd logo
1 de 4
Descargar para leer sin conexión
International Journal of Engineering Research and Development
e-ISSN: 2278-067X, p-ISSN: 2278-800X, www.ijerd.com
Volume 2, Issue 10 (August 2012), PP. 31-34


      Stochastic Behaviour of Parameter Convergence in Genetic
                 Algorithm: An Experimental Analysis
                                    Prof. D. P. Sharma1, Prof. Shweta2


Abstract––Parameter convergence in Genetic Algorithm (GA) is quiet unpredictable since it is not tied with the number of
episodes (i.e., the number of generations), convergence time, or any other parameter it require to converge. Thus, in
such a situation, trial to frame out any hypothesis to predict definite number of episodes gets disapproved; in turn, the
alternate hypothesis becomes acceptable that proves that there is non-dependent relationship between various parameters
with regard to number of episodes for proper convergence of a Genetic Algorithm. The reason behind is that, it is an
optimization depended technique that can take any number of episodes to converge within the given convex set until
convergence criteria is satisfied. In other words, unless it converges down to adequate optima, it can go on acquiring
more number of episodes. It is to note that, optimization techniques may not provide the pin-pointed target but in most of
the cases it guarantee to provide optimum result, i.e., in the proximity of target. Here, an experimental study is
undertaken to test the hypothesis in favour of verifying inter-relationship of parameters and its effect on convergence.
The GA has been designed for the purpose of generating various parameters of interest to assist the study.

Keywords––GA, Genetic Algorithm, Convergence, GA parameters, Episodes, Hypothesis Test,

                                              I.        INTRODUCTION
           Genetic Algorithm is inspired by biological phenomenon that exhibits natural selection between species. Genetic
Algorithm is stochastic by nature. Developed by John Holland [1962], the GA is a largely used Artificial Intelligence
algorithm that has been exploited for the problems requiring the most desirable solution set from among various choices,
such as the lowest cost path in a communication network. It is a search algorithm that operates over a population of encoded
candidate solutions to solve a given problem.
           Genetic algorithm is basically an Optimization technique that simulates the phenomenon of natural selection, as
first observed by Charles Darwin. He laid principle of evolution through natural selection in his magnum opus, The Origin of
Species, published in 1959. The basic idea contained in Darwin’s work can be summarized in the following points:
   a.      Each individual tends to pass on its traits to its offspring.
   b.      Nevertheless, nature produces individuals with different traits.
   c.      The fittest individuals – those with most favourable traits, tends to have more offspring than do those with
           unfavourable traits, thus driving the population as a whole toward favourable traits.
   d.      Over long periods, variation can accumulate, producing entirely new species whose traits make them especially
           suited to particular ecological niches.

           From a molecular point of view, natural selection is enabled by the variation that follows from crossover and
mutation producing new genes.
           In natural evolution, the species search for increasingly beneficial adaptations for survival within their complex
environments. The search takes place in species’ chromosomes where changes and their effects are graded by the survival
and reproduction of species. This makes the basis for survival of the fittest – survival and passing on these characteristics to
future generations. Survival in nature is the ultimate utility function.
           The genetic algorithm, instead of trying to optimize a single solution, works with a population of candidate
solutions that are encoded as chromosomes. Within the chromosomes are separate genes that represent the independent
variables for the problem at hand. Basic parameters are drawn from the given problem domain, and then chromosomes are
created that represent further unique independent parameters. The parameters could represent binary encoded integers, bit
strings, or floating point variables.

                                      II.       EXPERIMENTAL FINDINGS
          In the following paragraphs, it is studied to verify and establish a definite relationship between the parameters
assigned to a GA and its convergence time, that is, more precisely the number of episodes it takes to fully converge. The
following chart is created to find the relationship of various input, fitness and genome parameters, their convergence under
worst and best chromosome condition, convergence basis (whether the initial population, crossover, or others) and the
number of episodes it acquires to converge. The following assumption is made using purist form –
Null hypothesis (H0): there is a definite relationship between parameters of convergence with the number of episodes in GA.
Alternate Hypothesis (H1): there is no definite relationship between parameters of convergence with the number of episodes
in GA.


                                                              31
Stochastic Behaviour of Parameter Convergence in Genetic Algorithm an Experimental Analysis

           Here, the table created, using the software prepared for this experiment, expose that the data generated for number
of episodes keeping value of initial population static is not in consent with or support any relationship between itself and the
parameters (e.g., population size, crossover rate, mutation rate, etc.) used for convergence of GA, rather an arbitrary
variation in number of episodes is evidenced. And the difference between one to another episode number is non-trivial.
   Sl.       y          Worst Chromosome              Made By           Best Chromosome             Made By          No. of
  No.                                                                                                              Episodes
                       Fitness        Genome                           Fitness      Genome
      1          36     10.49562        99896          Initial        97.29729         02144           Initial             6
                                                     Population                                      Population
      2          36     13.43283        57879          Initial        97.29729         42223           Initial             38
                                                     Population                                      Population
      3          36     12.63157        97759          Initial        97.22223         14411         Crossover             4
                                                     Population
      4          36     10.84337        99895        Crossover        97.29729         02144 Mutation of        18
                                                                                                  all
                                                                                              individuals
      Figure – 1 Repeated convergence of same value of “y” (initial population) indicates differences in convergence
                                                       pattern.

           Thus, it would be better to follow a structured pattern of finding the truth through hypothesis test. So, we consider
a chart of observed values (i.e., historical record) along with the expected values (i.e., the current observation) to evaluate the
trustworthiness of our hypothesis.
Chart of observed values is created using the software.
  Sl.      y          Worst Chromosome                Made By          Best Chromosome             Made By             No. of
  No.                                                                                                                Episodes
                     Fitness          Genome                           Fitness      Genome
                                                                                                                   (Generation)
   1       36       10.49562           99896            Initial       97.29729       02144           Initial             6
                                                      Population                                   Population
   2       76       21.46892           98889            Initial       48.68421       23615           Initial             11
                                                      Population                                   Population
   3       97       27.40112           98889            Initial       98.97959       56106           Initial             11
                                                      Population                                   Population
   4      135       19.25925           32320          Crossover       99.26470       93631           Initial             3
                                                                                                   Population

  5            198     4.04040         12111         Crossover        98.98989       46848          Initial               9
                                                                                                  Population
  6            214     8.57142         22230          Initial         99.59349       92849        Crossover               1
                                                    Population
  7            237     14.34599        00334          Initial         99.57983       76885       Mutation of              73
                                                    Population                                       all
                                                                                                 individuals
  8            248     11.29032        40222          Initial         99.59839       82698       Mutation of              134
                                                    Population                                       all
                                                                                                 individuals
 9             256     7.03125         02132         Crossover        99.21875       83698        Crossover               16
 10            276    10.869561        22.332        Crossover        95.28985       89916         Initial                3
                                                                                                 Population

          ∑X          134.773851     407045.332                       936.49599     648390

                      13.4773851      40704.5332                   93.649599    64839.0
                      Figure – 2 Historical Record generated using GA software designed for this purpose.

The current observation of expected values obtained is as below:
  Sl.       y         Worst Chromosome             Made By               Best Chromosome             Made By           No. of
  No.                                                                                                                 Episodes
                      Fitness       Genome                              Fitness       Genome
  1            311      4.18006       02212        Initial        99.35691      68988              Initial           62
                                                   Population                                      Population
                                      Figure – 3 Experimental result of new value of “y”.



                                                                 32
Stochastic Behaviour of Parameter Convergence in Genetic Algorithm an Experimental Analysis

          Now, we consider the current chart of expected values along with the historical record to prove the assumption
taken before, using statistical tool - chi square test.
          Category                 O (Observed            E
                                      Values)        (Expected   M=|(O-E)|                  M2                    M2/E
                                                        Values)
  Worst            Fitness        13.4773851         4.18006    9.2973251       86.440735617201               20.6793
  Chromosome Genome               40704.5332         02212      38492.5332      1481675112.15310224           669835.0416
  Best             Fitness        93.649599          99.35691   -5.707311       32.573398850                  0.32784
  Chromosome Genome               64839.0            68988      -4149           17214201                      249.5245
                 k
                    (O  E )2                                                                                 670105.5733
           χ2 =i 1    E
                                 Figure – 4 Analysis of Observed and Expected Values.

          Considering degree of freedom (df) = (row-1) (col-1) = (4-1)(2-1) = 3, taken at 0.05 confidence level, which is
valid for most of the scientific experimentations, i.e., 7.815 considering the Chi-Square distribution table –
Probability of exceeding the critical value




                  Figure – 5 Upper critical values of chi-square distribution with  degrees of freedom

Here, 670105.5733 >> 7.815,
Thus, the χ2 calculated is greater than the χ2 critical, thus the hypothesis H0 is rejected.
Therefore, finally the alternate hypothesis stands forth, stated as below,
Alternate Hypothesis (H1): there is no definite relationship between parameters of convergence with the number of episodes
in GA.
                          III.      VERIFYING REASONS FOR RANDOMNESS
           Following are the reasons to turn the GA a stochastic process that presents unpredictable behavior of the algorithm
in terms of estimating number of episodes for its convergence.
      i. Genetic Algorithms use probabilistic transition rules, not the deterministic rules.
      ii. Evolutionary process adopted in the Genetic Algorithms is not strictly formula bound rather it adopts the natural
           process of chance selection.
      iii. The fitness-proportionate selection adopted by Genetic Algorithm, in which the “expected value” of an individual
           is purely a chance dependent phenomenon, since the roulette wheel searching is commonly used for this purpose.
           Verifying the algorithm make us feel the process:
Algorithm:
      1. Sum the total expected value of individuals in the population (say, sum T)
      2. Repeat N times
      3. Choose a random integer r between 0 and T.
                 i. Loop through the individuals in the population,
                 ii. Summing the expected values, until the sum ≥ r.
(The individual whose expected value puts the sum over this limit is the one selected)

This stochastic method statistically results in the expected number of offspring for each individual.
Note: James Baker (1987) proposed Stochastic Universal Sampling (SUS) method which adopts spinning roulette wheel
once instead of N number of times (yet it is also stochastic).

                                               IV.       CONCLUSION
          Thus, to conclude that – it is highly unlikely to get the number of episodes pre-estimated on the basis of relative
values of parameters assigned to a genetic algorithm. Therefore, the number of episodes becomes free from the bindings of
parameters’ convergence.
          It further signifies that, the actual time of convergence of a genetic algorithm cannot be predicted. However, the
techniques have evolved to make the convergence faster to a considerable extent, yet it does not guarantee the count of
episodes or convergence time estimation, which are unpredictable phenomena.



                                                             33
Stochastic Behaviour of Parameter Convergence in Genetic Algorithm an Experimental Analysis

Software Programs Developed for the Experiment




                                    Figure – 6 (A) Snapshot of software used for experiment.




                         Figure – 6 (B) Snapshot of software used showing case of different episode.

                                                           REFRENCES
  [1].     Write, A. H., 1991. Genetic algorithms for real parameter optimization. In G. Rawlings, ed., Foundation of Genetic Algorithms,
           Morgan Kaufmann.
  [2].     Spears, W. M., and De Jong, K. A. 1991. On the virtues of parameterized uniform crossover. In R. K. Below and L. B. Booker,
           eds., Proceedings of the Fourth International Conference on Genetic Algorithms, Morgan Kaufmann.
  [3].     Schaffer, J. D., Eshelman, L. J., and Offut, D. 1991. Spurious correlation and premature convergence in genetic algorithms. In G.
           Rawlins, ed., Foundation of Genetic Algorithms. Morgan Kaufmann.
  [4].     O’Reilly, U. M., and Oppacher, F. 1995. The troubling aspects of a building block hypothesis for genetic programming. In L. D.
           Whitley and M. d. Vose, eds., Foundation of Genetic Algorithms 3, Morgan Kaufmann.
  [5].     Grefenstette, J. J. 1986. Optimization of control parameters in genetic algorithms. IEEE transactions on Systems, Man ,and
           Cybernetics 16, no. 1:122-128.
  [6].     Bedau, M. A., and Packard, N. H. 1992. Measurement of evolutionary activity teleology, and life. In C. G. Langton, C. Taylor, J.
           D. Farmer, and S. Rasmussen, eds. Artificial Life II, Addition Wesley.
  [7].     David E. Goldberg, 2006, Genetic Algorithms in Search, Optimization & Machine Learning. Pearson, London.
  [8].     Papoulis, A. 1984. Probability, Random variables, and stochastic processes, 2nd Ed. New York, McGraw Hills.
  [9].     Melanie Mitchell. 2002. An introduction to Genetic Algorithms. Prentice-Hall. 2nd Ed. USA.
  [10].    Holland, J. H. 1971. Genetic Algorithms and the optimal allocation of trials. SIAM Journal of Computing. 2(2), 88-105.
  [11].    Goldberg, D. E. 1981. Algebraic and probabilistic properties of genetic algorithms. 2009. Journal of Computing. 5, 28-44.




                                                                    34

Más contenido relacionado

Más de IJERD Editor

A Novel Method for Prevention of Bandwidth Distributed Denial of Service Attacks
A Novel Method for Prevention of Bandwidth Distributed Denial of Service AttacksA Novel Method for Prevention of Bandwidth Distributed Denial of Service Attacks
A Novel Method for Prevention of Bandwidth Distributed Denial of Service AttacksIJERD Editor
 
MEMS MICROPHONE INTERFACE
MEMS MICROPHONE INTERFACEMEMS MICROPHONE INTERFACE
MEMS MICROPHONE INTERFACEIJERD Editor
 
Influence of tensile behaviour of slab on the structural Behaviour of shear c...
Influence of tensile behaviour of slab on the structural Behaviour of shear c...Influence of tensile behaviour of slab on the structural Behaviour of shear c...
Influence of tensile behaviour of slab on the structural Behaviour of shear c...IJERD Editor
 
Gold prospecting using Remote Sensing ‘A case study of Sudan’
Gold prospecting using Remote Sensing ‘A case study of Sudan’Gold prospecting using Remote Sensing ‘A case study of Sudan’
Gold prospecting using Remote Sensing ‘A case study of Sudan’IJERD Editor
 
Reducing Corrosion Rate by Welding Design
Reducing Corrosion Rate by Welding DesignReducing Corrosion Rate by Welding Design
Reducing Corrosion Rate by Welding DesignIJERD Editor
 
Router 1X3 – RTL Design and Verification
Router 1X3 – RTL Design and VerificationRouter 1X3 – RTL Design and Verification
Router 1X3 – RTL Design and VerificationIJERD Editor
 
Active Power Exchange in Distributed Power-Flow Controller (DPFC) At Third Ha...
Active Power Exchange in Distributed Power-Flow Controller (DPFC) At Third Ha...Active Power Exchange in Distributed Power-Flow Controller (DPFC) At Third Ha...
Active Power Exchange in Distributed Power-Flow Controller (DPFC) At Third Ha...IJERD Editor
 
Mitigation of Voltage Sag/Swell with Fuzzy Control Reduced Rating DVR
Mitigation of Voltage Sag/Swell with Fuzzy Control Reduced Rating DVRMitigation of Voltage Sag/Swell with Fuzzy Control Reduced Rating DVR
Mitigation of Voltage Sag/Swell with Fuzzy Control Reduced Rating DVRIJERD Editor
 
Study on the Fused Deposition Modelling In Additive Manufacturing
Study on the Fused Deposition Modelling In Additive ManufacturingStudy on the Fused Deposition Modelling In Additive Manufacturing
Study on the Fused Deposition Modelling In Additive ManufacturingIJERD Editor
 
Spyware triggering system by particular string value
Spyware triggering system by particular string valueSpyware triggering system by particular string value
Spyware triggering system by particular string valueIJERD Editor
 
A Blind Steganalysis on JPEG Gray Level Image Based on Statistical Features a...
A Blind Steganalysis on JPEG Gray Level Image Based on Statistical Features a...A Blind Steganalysis on JPEG Gray Level Image Based on Statistical Features a...
A Blind Steganalysis on JPEG Gray Level Image Based on Statistical Features a...IJERD Editor
 
Secure Image Transmission for Cloud Storage System Using Hybrid Scheme
Secure Image Transmission for Cloud Storage System Using Hybrid SchemeSecure Image Transmission for Cloud Storage System Using Hybrid Scheme
Secure Image Transmission for Cloud Storage System Using Hybrid SchemeIJERD Editor
 
Application of Buckley-Leverett Equation in Modeling the Radius of Invasion i...
Application of Buckley-Leverett Equation in Modeling the Radius of Invasion i...Application of Buckley-Leverett Equation in Modeling the Radius of Invasion i...
Application of Buckley-Leverett Equation in Modeling the Radius of Invasion i...IJERD Editor
 
Gesture Gaming on the World Wide Web Using an Ordinary Web Camera
Gesture Gaming on the World Wide Web Using an Ordinary Web CameraGesture Gaming on the World Wide Web Using an Ordinary Web Camera
Gesture Gaming on the World Wide Web Using an Ordinary Web CameraIJERD Editor
 
Hardware Analysis of Resonant Frequency Converter Using Isolated Circuits And...
Hardware Analysis of Resonant Frequency Converter Using Isolated Circuits And...Hardware Analysis of Resonant Frequency Converter Using Isolated Circuits And...
Hardware Analysis of Resonant Frequency Converter Using Isolated Circuits And...IJERD Editor
 
Simulated Analysis of Resonant Frequency Converter Using Different Tank Circu...
Simulated Analysis of Resonant Frequency Converter Using Different Tank Circu...Simulated Analysis of Resonant Frequency Converter Using Different Tank Circu...
Simulated Analysis of Resonant Frequency Converter Using Different Tank Circu...IJERD Editor
 
Moon-bounce: A Boon for VHF Dxing
Moon-bounce: A Boon for VHF DxingMoon-bounce: A Boon for VHF Dxing
Moon-bounce: A Boon for VHF DxingIJERD Editor
 
“MS-Extractor: An Innovative Approach to Extract Microsatellites on „Y‟ Chrom...
“MS-Extractor: An Innovative Approach to Extract Microsatellites on „Y‟ Chrom...“MS-Extractor: An Innovative Approach to Extract Microsatellites on „Y‟ Chrom...
“MS-Extractor: An Innovative Approach to Extract Microsatellites on „Y‟ Chrom...IJERD Editor
 
Importance of Measurements in Smart Grid
Importance of Measurements in Smart GridImportance of Measurements in Smart Grid
Importance of Measurements in Smart GridIJERD Editor
 
Study of Macro level Properties of SCC using GGBS and Lime stone powder
Study of Macro level Properties of SCC using GGBS and Lime stone powderStudy of Macro level Properties of SCC using GGBS and Lime stone powder
Study of Macro level Properties of SCC using GGBS and Lime stone powderIJERD Editor
 

Más de IJERD Editor (20)

A Novel Method for Prevention of Bandwidth Distributed Denial of Service Attacks
A Novel Method for Prevention of Bandwidth Distributed Denial of Service AttacksA Novel Method for Prevention of Bandwidth Distributed Denial of Service Attacks
A Novel Method for Prevention of Bandwidth Distributed Denial of Service Attacks
 
MEMS MICROPHONE INTERFACE
MEMS MICROPHONE INTERFACEMEMS MICROPHONE INTERFACE
MEMS MICROPHONE INTERFACE
 
Influence of tensile behaviour of slab on the structural Behaviour of shear c...
Influence of tensile behaviour of slab on the structural Behaviour of shear c...Influence of tensile behaviour of slab on the structural Behaviour of shear c...
Influence of tensile behaviour of slab on the structural Behaviour of shear c...
 
Gold prospecting using Remote Sensing ‘A case study of Sudan’
Gold prospecting using Remote Sensing ‘A case study of Sudan’Gold prospecting using Remote Sensing ‘A case study of Sudan’
Gold prospecting using Remote Sensing ‘A case study of Sudan’
 
Reducing Corrosion Rate by Welding Design
Reducing Corrosion Rate by Welding DesignReducing Corrosion Rate by Welding Design
Reducing Corrosion Rate by Welding Design
 
Router 1X3 – RTL Design and Verification
Router 1X3 – RTL Design and VerificationRouter 1X3 – RTL Design and Verification
Router 1X3 – RTL Design and Verification
 
Active Power Exchange in Distributed Power-Flow Controller (DPFC) At Third Ha...
Active Power Exchange in Distributed Power-Flow Controller (DPFC) At Third Ha...Active Power Exchange in Distributed Power-Flow Controller (DPFC) At Third Ha...
Active Power Exchange in Distributed Power-Flow Controller (DPFC) At Third Ha...
 
Mitigation of Voltage Sag/Swell with Fuzzy Control Reduced Rating DVR
Mitigation of Voltage Sag/Swell with Fuzzy Control Reduced Rating DVRMitigation of Voltage Sag/Swell with Fuzzy Control Reduced Rating DVR
Mitigation of Voltage Sag/Swell with Fuzzy Control Reduced Rating DVR
 
Study on the Fused Deposition Modelling In Additive Manufacturing
Study on the Fused Deposition Modelling In Additive ManufacturingStudy on the Fused Deposition Modelling In Additive Manufacturing
Study on the Fused Deposition Modelling In Additive Manufacturing
 
Spyware triggering system by particular string value
Spyware triggering system by particular string valueSpyware triggering system by particular string value
Spyware triggering system by particular string value
 
A Blind Steganalysis on JPEG Gray Level Image Based on Statistical Features a...
A Blind Steganalysis on JPEG Gray Level Image Based on Statistical Features a...A Blind Steganalysis on JPEG Gray Level Image Based on Statistical Features a...
A Blind Steganalysis on JPEG Gray Level Image Based on Statistical Features a...
 
Secure Image Transmission for Cloud Storage System Using Hybrid Scheme
Secure Image Transmission for Cloud Storage System Using Hybrid SchemeSecure Image Transmission for Cloud Storage System Using Hybrid Scheme
Secure Image Transmission for Cloud Storage System Using Hybrid Scheme
 
Application of Buckley-Leverett Equation in Modeling the Radius of Invasion i...
Application of Buckley-Leverett Equation in Modeling the Radius of Invasion i...Application of Buckley-Leverett Equation in Modeling the Radius of Invasion i...
Application of Buckley-Leverett Equation in Modeling the Radius of Invasion i...
 
Gesture Gaming on the World Wide Web Using an Ordinary Web Camera
Gesture Gaming on the World Wide Web Using an Ordinary Web CameraGesture Gaming on the World Wide Web Using an Ordinary Web Camera
Gesture Gaming on the World Wide Web Using an Ordinary Web Camera
 
Hardware Analysis of Resonant Frequency Converter Using Isolated Circuits And...
Hardware Analysis of Resonant Frequency Converter Using Isolated Circuits And...Hardware Analysis of Resonant Frequency Converter Using Isolated Circuits And...
Hardware Analysis of Resonant Frequency Converter Using Isolated Circuits And...
 
Simulated Analysis of Resonant Frequency Converter Using Different Tank Circu...
Simulated Analysis of Resonant Frequency Converter Using Different Tank Circu...Simulated Analysis of Resonant Frequency Converter Using Different Tank Circu...
Simulated Analysis of Resonant Frequency Converter Using Different Tank Circu...
 
Moon-bounce: A Boon for VHF Dxing
Moon-bounce: A Boon for VHF DxingMoon-bounce: A Boon for VHF Dxing
Moon-bounce: A Boon for VHF Dxing
 
“MS-Extractor: An Innovative Approach to Extract Microsatellites on „Y‟ Chrom...
“MS-Extractor: An Innovative Approach to Extract Microsatellites on „Y‟ Chrom...“MS-Extractor: An Innovative Approach to Extract Microsatellites on „Y‟ Chrom...
“MS-Extractor: An Innovative Approach to Extract Microsatellites on „Y‟ Chrom...
 
Importance of Measurements in Smart Grid
Importance of Measurements in Smart GridImportance of Measurements in Smart Grid
Importance of Measurements in Smart Grid
 
Study of Macro level Properties of SCC using GGBS and Lime stone powder
Study of Macro level Properties of SCC using GGBS and Lime stone powderStudy of Macro level Properties of SCC using GGBS and Lime stone powder
Study of Macro level Properties of SCC using GGBS and Lime stone powder
 

Último

Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Paola De la Torre
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processorsdebabhi2
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationSafe Software
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slidevu2urc
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...Neo4j
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxMalak Abu Hammad
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking MenDelhi Call girls
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘RTylerCroy
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Scriptwesley chun
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreternaman860154
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure servicePooja Nehwal
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountPuma Security, LLC
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonAnna Loughnan Colquhoun
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024The Digital Insurer
 
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...gurkirankumar98700
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slidespraypatel2
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxKatpro Technologies
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking MenDelhi Call girls
 

Último (20)

Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slides
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 

IJERD (www.ijerd.com) International Journal of Engineering Research and Development

  • 1. International Journal of Engineering Research and Development e-ISSN: 2278-067X, p-ISSN: 2278-800X, www.ijerd.com Volume 2, Issue 10 (August 2012), PP. 31-34 Stochastic Behaviour of Parameter Convergence in Genetic Algorithm: An Experimental Analysis Prof. D. P. Sharma1, Prof. Shweta2 Abstract––Parameter convergence in Genetic Algorithm (GA) is quiet unpredictable since it is not tied with the number of episodes (i.e., the number of generations), convergence time, or any other parameter it require to converge. Thus, in such a situation, trial to frame out any hypothesis to predict definite number of episodes gets disapproved; in turn, the alternate hypothesis becomes acceptable that proves that there is non-dependent relationship between various parameters with regard to number of episodes for proper convergence of a Genetic Algorithm. The reason behind is that, it is an optimization depended technique that can take any number of episodes to converge within the given convex set until convergence criteria is satisfied. In other words, unless it converges down to adequate optima, it can go on acquiring more number of episodes. It is to note that, optimization techniques may not provide the pin-pointed target but in most of the cases it guarantee to provide optimum result, i.e., in the proximity of target. Here, an experimental study is undertaken to test the hypothesis in favour of verifying inter-relationship of parameters and its effect on convergence. The GA has been designed for the purpose of generating various parameters of interest to assist the study. Keywords––GA, Genetic Algorithm, Convergence, GA parameters, Episodes, Hypothesis Test, I. INTRODUCTION Genetic Algorithm is inspired by biological phenomenon that exhibits natural selection between species. Genetic Algorithm is stochastic by nature. Developed by John Holland [1962], the GA is a largely used Artificial Intelligence algorithm that has been exploited for the problems requiring the most desirable solution set from among various choices, such as the lowest cost path in a communication network. It is a search algorithm that operates over a population of encoded candidate solutions to solve a given problem. Genetic algorithm is basically an Optimization technique that simulates the phenomenon of natural selection, as first observed by Charles Darwin. He laid principle of evolution through natural selection in his magnum opus, The Origin of Species, published in 1959. The basic idea contained in Darwin’s work can be summarized in the following points: a. Each individual tends to pass on its traits to its offspring. b. Nevertheless, nature produces individuals with different traits. c. The fittest individuals – those with most favourable traits, tends to have more offspring than do those with unfavourable traits, thus driving the population as a whole toward favourable traits. d. Over long periods, variation can accumulate, producing entirely new species whose traits make them especially suited to particular ecological niches. From a molecular point of view, natural selection is enabled by the variation that follows from crossover and mutation producing new genes. In natural evolution, the species search for increasingly beneficial adaptations for survival within their complex environments. The search takes place in species’ chromosomes where changes and their effects are graded by the survival and reproduction of species. This makes the basis for survival of the fittest – survival and passing on these characteristics to future generations. Survival in nature is the ultimate utility function. The genetic algorithm, instead of trying to optimize a single solution, works with a population of candidate solutions that are encoded as chromosomes. Within the chromosomes are separate genes that represent the independent variables for the problem at hand. Basic parameters are drawn from the given problem domain, and then chromosomes are created that represent further unique independent parameters. The parameters could represent binary encoded integers, bit strings, or floating point variables. II. EXPERIMENTAL FINDINGS In the following paragraphs, it is studied to verify and establish a definite relationship between the parameters assigned to a GA and its convergence time, that is, more precisely the number of episodes it takes to fully converge. The following chart is created to find the relationship of various input, fitness and genome parameters, their convergence under worst and best chromosome condition, convergence basis (whether the initial population, crossover, or others) and the number of episodes it acquires to converge. The following assumption is made using purist form – Null hypothesis (H0): there is a definite relationship between parameters of convergence with the number of episodes in GA. Alternate Hypothesis (H1): there is no definite relationship between parameters of convergence with the number of episodes in GA. 31
  • 2. Stochastic Behaviour of Parameter Convergence in Genetic Algorithm an Experimental Analysis Here, the table created, using the software prepared for this experiment, expose that the data generated for number of episodes keeping value of initial population static is not in consent with or support any relationship between itself and the parameters (e.g., population size, crossover rate, mutation rate, etc.) used for convergence of GA, rather an arbitrary variation in number of episodes is evidenced. And the difference between one to another episode number is non-trivial. Sl. y Worst Chromosome Made By Best Chromosome Made By No. of No. Episodes Fitness Genome Fitness Genome 1 36 10.49562 99896 Initial 97.29729 02144 Initial 6 Population Population 2 36 13.43283 57879 Initial 97.29729 42223 Initial 38 Population Population 3 36 12.63157 97759 Initial 97.22223 14411 Crossover 4 Population 4 36 10.84337 99895 Crossover 97.29729 02144 Mutation of 18 all individuals Figure – 1 Repeated convergence of same value of “y” (initial population) indicates differences in convergence pattern. Thus, it would be better to follow a structured pattern of finding the truth through hypothesis test. So, we consider a chart of observed values (i.e., historical record) along with the expected values (i.e., the current observation) to evaluate the trustworthiness of our hypothesis. Chart of observed values is created using the software. Sl. y Worst Chromosome Made By Best Chromosome Made By No. of No. Episodes Fitness Genome Fitness Genome (Generation) 1 36 10.49562 99896 Initial 97.29729 02144 Initial 6 Population Population 2 76 21.46892 98889 Initial 48.68421 23615 Initial 11 Population Population 3 97 27.40112 98889 Initial 98.97959 56106 Initial 11 Population Population 4 135 19.25925 32320 Crossover 99.26470 93631 Initial 3 Population 5 198 4.04040 12111 Crossover 98.98989 46848 Initial 9 Population 6 214 8.57142 22230 Initial 99.59349 92849 Crossover 1 Population 7 237 14.34599 00334 Initial 99.57983 76885 Mutation of 73 Population all individuals 8 248 11.29032 40222 Initial 99.59839 82698 Mutation of 134 Population all individuals 9 256 7.03125 02132 Crossover 99.21875 83698 Crossover 16 10 276 10.869561 22.332 Crossover 95.28985 89916 Initial 3 Population ∑X 134.773851 407045.332 936.49599 648390 13.4773851 40704.5332 93.649599 64839.0 Figure – 2 Historical Record generated using GA software designed for this purpose. The current observation of expected values obtained is as below: Sl. y Worst Chromosome Made By Best Chromosome Made By No. of No. Episodes Fitness Genome Fitness Genome 1 311 4.18006 02212 Initial 99.35691 68988 Initial 62 Population Population Figure – 3 Experimental result of new value of “y”. 32
  • 3. Stochastic Behaviour of Parameter Convergence in Genetic Algorithm an Experimental Analysis Now, we consider the current chart of expected values along with the historical record to prove the assumption taken before, using statistical tool - chi square test. Category O (Observed E Values) (Expected M=|(O-E)| M2 M2/E Values) Worst Fitness 13.4773851 4.18006 9.2973251 86.440735617201 20.6793 Chromosome Genome 40704.5332 02212 38492.5332 1481675112.15310224 669835.0416 Best Fitness 93.649599 99.35691 -5.707311 32.573398850 0.32784 Chromosome Genome 64839.0 68988 -4149 17214201 249.5245 k (O  E )2 670105.5733 χ2 =i 1 E Figure – 4 Analysis of Observed and Expected Values. Considering degree of freedom (df) = (row-1) (col-1) = (4-1)(2-1) = 3, taken at 0.05 confidence level, which is valid for most of the scientific experimentations, i.e., 7.815 considering the Chi-Square distribution table – Probability of exceeding the critical value Figure – 5 Upper critical values of chi-square distribution with  degrees of freedom Here, 670105.5733 >> 7.815, Thus, the χ2 calculated is greater than the χ2 critical, thus the hypothesis H0 is rejected. Therefore, finally the alternate hypothesis stands forth, stated as below, Alternate Hypothesis (H1): there is no definite relationship between parameters of convergence with the number of episodes in GA. III. VERIFYING REASONS FOR RANDOMNESS Following are the reasons to turn the GA a stochastic process that presents unpredictable behavior of the algorithm in terms of estimating number of episodes for its convergence. i. Genetic Algorithms use probabilistic transition rules, not the deterministic rules. ii. Evolutionary process adopted in the Genetic Algorithms is not strictly formula bound rather it adopts the natural process of chance selection. iii. The fitness-proportionate selection adopted by Genetic Algorithm, in which the “expected value” of an individual is purely a chance dependent phenomenon, since the roulette wheel searching is commonly used for this purpose. Verifying the algorithm make us feel the process: Algorithm: 1. Sum the total expected value of individuals in the population (say, sum T) 2. Repeat N times 3. Choose a random integer r between 0 and T. i. Loop through the individuals in the population, ii. Summing the expected values, until the sum ≥ r. (The individual whose expected value puts the sum over this limit is the one selected) This stochastic method statistically results in the expected number of offspring for each individual. Note: James Baker (1987) proposed Stochastic Universal Sampling (SUS) method which adopts spinning roulette wheel once instead of N number of times (yet it is also stochastic). IV. CONCLUSION Thus, to conclude that – it is highly unlikely to get the number of episodes pre-estimated on the basis of relative values of parameters assigned to a genetic algorithm. Therefore, the number of episodes becomes free from the bindings of parameters’ convergence. It further signifies that, the actual time of convergence of a genetic algorithm cannot be predicted. However, the techniques have evolved to make the convergence faster to a considerable extent, yet it does not guarantee the count of episodes or convergence time estimation, which are unpredictable phenomena. 33
  • 4. Stochastic Behaviour of Parameter Convergence in Genetic Algorithm an Experimental Analysis Software Programs Developed for the Experiment Figure – 6 (A) Snapshot of software used for experiment. Figure – 6 (B) Snapshot of software used showing case of different episode. REFRENCES [1]. Write, A. H., 1991. Genetic algorithms for real parameter optimization. In G. Rawlings, ed., Foundation of Genetic Algorithms, Morgan Kaufmann. [2]. Spears, W. M., and De Jong, K. A. 1991. On the virtues of parameterized uniform crossover. In R. K. Below and L. B. Booker, eds., Proceedings of the Fourth International Conference on Genetic Algorithms, Morgan Kaufmann. [3]. Schaffer, J. D., Eshelman, L. J., and Offut, D. 1991. Spurious correlation and premature convergence in genetic algorithms. In G. Rawlins, ed., Foundation of Genetic Algorithms. Morgan Kaufmann. [4]. O’Reilly, U. M., and Oppacher, F. 1995. The troubling aspects of a building block hypothesis for genetic programming. In L. D. Whitley and M. d. Vose, eds., Foundation of Genetic Algorithms 3, Morgan Kaufmann. [5]. Grefenstette, J. J. 1986. Optimization of control parameters in genetic algorithms. IEEE transactions on Systems, Man ,and Cybernetics 16, no. 1:122-128. [6]. Bedau, M. A., and Packard, N. H. 1992. Measurement of evolutionary activity teleology, and life. In C. G. Langton, C. Taylor, J. D. Farmer, and S. Rasmussen, eds. Artificial Life II, Addition Wesley. [7]. David E. Goldberg, 2006, Genetic Algorithms in Search, Optimization & Machine Learning. Pearson, London. [8]. Papoulis, A. 1984. Probability, Random variables, and stochastic processes, 2nd Ed. New York, McGraw Hills. [9]. Melanie Mitchell. 2002. An introduction to Genetic Algorithms. Prentice-Hall. 2nd Ed. USA. [10]. Holland, J. H. 1971. Genetic Algorithms and the optimal allocation of trials. SIAM Journal of Computing. 2(2), 88-105. [11]. Goldberg, D. E. 1981. Algebraic and probabilistic properties of genetic algorithms. 2009. Journal of Computing. 5, 28-44. 34