1 / 15

Genetic Algorithm

Genetic Algorithm. What is a genetic algorithm? “Genetic Algorithms are defined as global optimization procedures that use an analogy of genetic evolution of biological organisms.” Basically genetic algorithms tend to find the best solution to a problem by following an evolutionary process.

boyd
Download Presentation

Genetic Algorithm

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Genetic Algorithm • What is a genetic algorithm? • “Genetic Algorithms are defined as global optimization procedures that use an analogy of genetic evolution of biological organisms.” • Basically genetic algorithms tend to find the best solution to a problem by following an evolutionary process.

  2. Basic Genetic Algorithm

  3. Parallel Genetic Algorithm • For large population sizes, G.A. is computationally infeasible. • Hence the use of Parallel Genetic Algorithms.

  4. Parallel Genetic Algorithm

  5. Model and Encoding • Island Model -: Each processor runs a G.A. on a subset of the population and there is periodic migration. • Fixed Length Binary String Encoding -: Here if gene is included in the subset then value is 1 else 0.

  6. Fitness Evaluation • Two Different Criteria • Classification Accuracy • Size of the subset fitness(x) = w1 * accuracy(x) + w2 *(1 – dimensionality(x)) • Here, • accuracy(x) =test accuracy of the classifier built with the gene subset represented by x • dimensionality(x)  [0,1] = the dimension of the subset

  7. Fitness Evaluation • w1 = weight assigned to accuracy • w2 = weight assigned to dimensionality • High classification accuracy and low dimension has high fitness.

  8. Data Sets Used

  9. Test Parameters • The tests were run on two processors. • The parameters of G.A. in each processor were set as -: • Population Size : 1000 • Trials : 400000 • Crossover probability: 0.6 • Mutation probability: 0.001

  10. Test Parameters • Selection Strategy: Elitist • Migration Probability: 0.002 • Crossover probability of average level to get different subpopulation with good traits of the parents. • Mutation Probability low to avoid randomness of selection. • Selection Strategy is Elitist which ensures that the best individuals are kept and hence leads to more accurate subsets of genes.

  11. Results

  12. Results • Leukemia Data Set • Subset with 29 Genes found • Classifies 36/38 training instances correctly • Classifies 30/34 test instances correctly • Colon Data Set • Subset with 30 genes found • 92% accuracy on the training data set

  13. Results Comparison • Results better than other algorithms such as G-S and NB algorithms which have accuracies less than 90% and gene numbers varying from 10 to 500.

  14. Average Performance Graphs

  15. Conclusion • Method does well in finding smaller gene subsets and better accuracies. • Fitness function needs to be something more sophisticated than the simple one used right now to ensure a final compact subset every time.

More Related