SlideShare ist ein Scribd-Unternehmen logo
1 von 11
Optimizing evolutionary algorithms
at program level
JJ Merelo, A. M. Mora, Pedro Castillo,
Juan L. Jiménez Laredo, Carlos Fernandes
GeNeura team: http://geneura.wordpress.com
Departamento de Arquitectura y Tecnología de
Computadores: http://atc.ugr.es
University of Granada: http://www.ugr.es
Evolutionary Algorithms
 EAs are population-based algorithms that
rely on a certain number of parameters and
operators
Best parameter values and competence of
operators are well studied.
We know the limits of the EAs scalability
However…
Little attention is devoted to
evolutionary algorithm
implementation
Even as it allows to design better algorihtms and
obtain substantial improvement at the algorithm
and runtime level
Used tools
Monitors
Running time, used
memory, resource
usage
Profilers
Parts that are
responsible for
waisting resources
Profiler usage
Problem setup
Fitness = MaxOnes
Canonical
evolutionary
algorithm, élite = 2
Varied population and
chromosome size
Free software:
http://bit.ly/bOk3z3
Evolving an evolutionary algorithm
program
Eliminated
Added
Size always matters
Caché for
fitness
computations
Use of the tr
Perl-specific
function for
computing
fitness
If we are more, we'll take more
Using a profiler for
finding a bottleneck:
the sort function
Change by
Sort::Key
It improves worst-case
behavior.
Blue uses previous
slide function
Conclusions
Running time improves up to two orders of
magnitude (for some population sizes) through
changes in implementation.
It is convenient to always bear in mind usual
programming techniques and good practices.
Future work: apply this to complex EA libraries
such as Algorithm::Evolutionary, written in Perl,
and other languages (Lua)
Thank you
Questions?

Weitere ähnliche Inhalte

Andere mochten auch

Towards a 2-dimensional Self-organized Framework for Structured Population-ba...
Towards a 2-dimensional Self-organized Framework for Structured Population-ba...Towards a 2-dimensional Self-organized Framework for Structured Population-ba...
Towards a 2-dimensional Self-organized Framework for Structured Population-ba...Carlos M. Fernandes
 
Using Self-Organized Criticality for Adjusting the Parameters of a Particle S...
Using Self-Organized Criticality for Adjusting the Parameters of a Particle S...Using Self-Organized Criticality for Adjusting the Parameters of a Particle S...
Using Self-Organized Criticality for Adjusting the Parameters of a Particle S...Carlos M. Fernandes
 
Benchmarking languages for evolutionary algorithms
Benchmarking languages for evolutionary algorithmsBenchmarking languages for evolutionary algorithms
Benchmarking languages for evolutionary algorithmsJuan J. Merelo
 
Estudio de un Operador de Mutación para Algoritmos Genéticos Basado en la Teo...
Estudio de un Operador de Mutación para Algoritmos Genéticos Basado en la Teo...Estudio de un Operador de Mutación para Algoritmos Genéticos Basado en la Teo...
Estudio de un Operador de Mutación para Algoritmos Genéticos Basado en la Teo...Juan J. Merelo
 
Data mining in security: Ja'far Alqatawna
Data mining in security: Ja'far AlqatawnaData mining in security: Ja'far Alqatawna
Data mining in security: Ja'far AlqatawnaMaribel García Arenas
 
This was a triumph: Evolving intelligent bots for videogames. And for Science.
This was a triumph: Evolving intelligent bots for videogames. And for Science. This was a triumph: Evolving intelligent bots for videogames. And for Science.
This was a triumph: Evolving intelligent bots for videogames. And for Science. Pablo García Sánchez
 
Towards Automatic StarCraft Strategy Generation Using Genetic Programming
Towards Automatic StarCraft Strategy Generation Using Genetic ProgrammingTowards Automatic StarCraft Strategy Generation Using Genetic Programming
Towards Automatic StarCraft Strategy Generation Using Genetic ProgrammingPablo García Sánchez
 
Evolutionary Deckbuilding in Hearthstone
Evolutionary Deckbuilding in HearthstoneEvolutionary Deckbuilding in Hearthstone
Evolutionary Deckbuilding in HearthstonePablo García Sánchez
 
Mathematical support for preventive maintenance periodicity optimization of r...
Mathematical support for preventive maintenance periodicity optimization of r...Mathematical support for preventive maintenance periodicity optimization of r...
Mathematical support for preventive maintenance periodicity optimization of r...Alexander Lyubchenko
 
Benchmarking languages for evolutionary computation
Benchmarking languages for evolutionary computationBenchmarking languages for evolutionary computation
Benchmarking languages for evolutionary computationJuan J. Merelo
 

Andere mochten auch (11)

Towards a 2-dimensional Self-organized Framework for Structured Population-ba...
Towards a 2-dimensional Self-organized Framework for Structured Population-ba...Towards a 2-dimensional Self-organized Framework for Structured Population-ba...
Towards a 2-dimensional Self-organized Framework for Structured Population-ba...
 
Using Self-Organized Criticality for Adjusting the Parameters of a Particle S...
Using Self-Organized Criticality for Adjusting the Parameters of a Particle S...Using Self-Organized Criticality for Adjusting the Parameters of a Particle S...
Using Self-Organized Criticality for Adjusting the Parameters of a Particle S...
 
Sandpile evo star 2011
Sandpile evo star 2011Sandpile evo star 2011
Sandpile evo star 2011
 
Benchmarking languages for evolutionary algorithms
Benchmarking languages for evolutionary algorithmsBenchmarking languages for evolutionary algorithms
Benchmarking languages for evolutionary algorithms
 
Estudio de un Operador de Mutación para Algoritmos Genéticos Basado en la Teo...
Estudio de un Operador de Mutación para Algoritmos Genéticos Basado en la Teo...Estudio de un Operador de Mutación para Algoritmos Genéticos Basado en la Teo...
Estudio de un Operador de Mutación para Algoritmos Genéticos Basado en la Teo...
 
Data mining in security: Ja'far Alqatawna
Data mining in security: Ja'far AlqatawnaData mining in security: Ja'far Alqatawna
Data mining in security: Ja'far Alqatawna
 
This was a triumph: Evolving intelligent bots for videogames. And for Science.
This was a triumph: Evolving intelligent bots for videogames. And for Science. This was a triumph: Evolving intelligent bots for videogames. And for Science.
This was a triumph: Evolving intelligent bots for videogames. And for Science.
 
Towards Automatic StarCraft Strategy Generation Using Genetic Programming
Towards Automatic StarCraft Strategy Generation Using Genetic ProgrammingTowards Automatic StarCraft Strategy Generation Using Genetic Programming
Towards Automatic StarCraft Strategy Generation Using Genetic Programming
 
Evolutionary Deckbuilding in Hearthstone
Evolutionary Deckbuilding in HearthstoneEvolutionary Deckbuilding in Hearthstone
Evolutionary Deckbuilding in Hearthstone
 
Mathematical support for preventive maintenance periodicity optimization of r...
Mathematical support for preventive maintenance periodicity optimization of r...Mathematical support for preventive maintenance periodicity optimization of r...
Mathematical support for preventive maintenance periodicity optimization of r...
 
Benchmarking languages for evolutionary computation
Benchmarking languages for evolutionary computationBenchmarking languages for evolutionary computation
Benchmarking languages for evolutionary computation
 

Ähnlich wie Optimizando e as-meta

IRJET- Machine Learning Techniques for Code Optimization
IRJET-  	  Machine Learning Techniques for Code OptimizationIRJET-  	  Machine Learning Techniques for Code Optimization
IRJET- Machine Learning Techniques for Code OptimizationIRJET Journal
 
Understanding Mahout classification documentation
Understanding Mahout  classification documentationUnderstanding Mahout  classification documentation
Understanding Mahout classification documentationNaveen Kumar
 
Machine Learning Contents.pptx
Machine Learning Contents.pptxMachine Learning Contents.pptx
Machine Learning Contents.pptxNaveenkushwaha18
 
Engineering Ambient Intelligence Systems using Agent Technology
Engineering Ambient Intelligence Systems using Agent TechnologyEngineering Ambient Intelligence Systems using Agent Technology
Engineering Ambient Intelligence Systems using Agent TechnologyNikolaos Spanoudakis
 
the application of machine lerning algorithm for SEE
the application of machine lerning algorithm for SEEthe application of machine lerning algorithm for SEE
the application of machine lerning algorithm for SEEKiranKumar671235
 
AUTOMATED BUG TRIAGE USING ADVANCED DATA REDUCTION TECHNIQUES
AUTOMATED BUG TRIAGE USING ADVANCED DATA REDUCTION TECHNIQUESAUTOMATED BUG TRIAGE USING ADVANCED DATA REDUCTION TECHNIQUES
AUTOMATED BUG TRIAGE USING ADVANCED DATA REDUCTION TECHNIQUESJournal For Research
 
Amazon SageMaker 內建機器學習演算法 (Level 400)
Amazon SageMaker 內建機器學習演算法 (Level 400)Amazon SageMaker 內建機器學習演算法 (Level 400)
Amazon SageMaker 內建機器學習演算法 (Level 400)Amazon Web Services
 
Bug Triage: An Automated Process
Bug Triage: An Automated ProcessBug Triage: An Automated Process
Bug Triage: An Automated ProcessIRJET Journal
 
Implementation of reducing features to improve code change based bug predicti...
Implementation of reducing features to improve code change based bug predicti...Implementation of reducing features to improve code change based bug predicti...
Implementation of reducing features to improve code change based bug predicti...eSAT Journals
 
Deep Learning Vocabulary.docx
Deep Learning Vocabulary.docxDeep Learning Vocabulary.docx
Deep Learning Vocabulary.docxjaffarbikat
 
Initializing & Optimizing Machine Learning Models
Initializing & Optimizing Machine Learning ModelsInitializing & Optimizing Machine Learning Models
Initializing & Optimizing Machine Learning ModelsEng Teong Cheah
 
A DEEP LEARNING APPROACH FOR SEMANTIC SEGMENTATION IN BRAIN TUMOR IMAGES
A DEEP LEARNING APPROACH FOR SEMANTIC SEGMENTATION IN BRAIN TUMOR IMAGESA DEEP LEARNING APPROACH FOR SEMANTIC SEGMENTATION IN BRAIN TUMOR IMAGES
A DEEP LEARNING APPROACH FOR SEMANTIC SEGMENTATION IN BRAIN TUMOR IMAGESPNandaSai
 
B2 2005 introduction_load_testing_blackboard_primer_draft
B2 2005 introduction_load_testing_blackboard_primer_draftB2 2005 introduction_load_testing_blackboard_primer_draft
B2 2005 introduction_load_testing_blackboard_primer_draftSteve Feldman
 
Data Structures and Algorithms Unit 01
Data Structures and Algorithms Unit 01Data Structures and Algorithms Unit 01
Data Structures and Algorithms Unit 01Prashanth Shivakumar
 
Expert System - Artificial intelligence
Expert System - Artificial intelligenceExpert System - Artificial intelligence
Expert System - Artificial intelligenceDr. Abdul Ahad Abro
 
Survey on evolutionary computation tech techniques and its application in dif...
Survey on evolutionary computation tech techniques and its application in dif...Survey on evolutionary computation tech techniques and its application in dif...
Survey on evolutionary computation tech techniques and its application in dif...ijitjournal
 
Supervised learning techniques and applications
Supervised learning techniques and applicationsSupervised learning techniques and applications
Supervised learning techniques and applicationsBenjaminlapid1
 

Ähnlich wie Optimizando e as-meta (20)

IRJET- Machine Learning Techniques for Code Optimization
IRJET-  	  Machine Learning Techniques for Code OptimizationIRJET-  	  Machine Learning Techniques for Code Optimization
IRJET- Machine Learning Techniques for Code Optimization
 
Understanding Mahout classification documentation
Understanding Mahout  classification documentationUnderstanding Mahout  classification documentation
Understanding Mahout classification documentation
 
Machine Learning Contents.pptx
Machine Learning Contents.pptxMachine Learning Contents.pptx
Machine Learning Contents.pptx
 
Engineering Ambient Intelligence Systems using Agent Technology
Engineering Ambient Intelligence Systems using Agent TechnologyEngineering Ambient Intelligence Systems using Agent Technology
Engineering Ambient Intelligence Systems using Agent Technology
 
the application of machine lerning algorithm for SEE
the application of machine lerning algorithm for SEEthe application of machine lerning algorithm for SEE
the application of machine lerning algorithm for SEE
 
EMOTION DETECTION USING AI
EMOTION DETECTION USING AIEMOTION DETECTION USING AI
EMOTION DETECTION USING AI
 
AUTOMATED BUG TRIAGE USING ADVANCED DATA REDUCTION TECHNIQUES
AUTOMATED BUG TRIAGE USING ADVANCED DATA REDUCTION TECHNIQUESAUTOMATED BUG TRIAGE USING ADVANCED DATA REDUCTION TECHNIQUES
AUTOMATED BUG TRIAGE USING ADVANCED DATA REDUCTION TECHNIQUES
 
Beekman5 std ppt_13
Beekman5 std ppt_13Beekman5 std ppt_13
Beekman5 std ppt_13
 
Amazon SageMaker 內建機器學習演算法 (Level 400)
Amazon SageMaker 內建機器學習演算法 (Level 400)Amazon SageMaker 內建機器學習演算法 (Level 400)
Amazon SageMaker 內建機器學習演算法 (Level 400)
 
performance
performanceperformance
performance
 
Bug Triage: An Automated Process
Bug Triage: An Automated ProcessBug Triage: An Automated Process
Bug Triage: An Automated Process
 
Implementation of reducing features to improve code change based bug predicti...
Implementation of reducing features to improve code change based bug predicti...Implementation of reducing features to improve code change based bug predicti...
Implementation of reducing features to improve code change based bug predicti...
 
Deep Learning Vocabulary.docx
Deep Learning Vocabulary.docxDeep Learning Vocabulary.docx
Deep Learning Vocabulary.docx
 
Initializing & Optimizing Machine Learning Models
Initializing & Optimizing Machine Learning ModelsInitializing & Optimizing Machine Learning Models
Initializing & Optimizing Machine Learning Models
 
A DEEP LEARNING APPROACH FOR SEMANTIC SEGMENTATION IN BRAIN TUMOR IMAGES
A DEEP LEARNING APPROACH FOR SEMANTIC SEGMENTATION IN BRAIN TUMOR IMAGESA DEEP LEARNING APPROACH FOR SEMANTIC SEGMENTATION IN BRAIN TUMOR IMAGES
A DEEP LEARNING APPROACH FOR SEMANTIC SEGMENTATION IN BRAIN TUMOR IMAGES
 
B2 2005 introduction_load_testing_blackboard_primer_draft
B2 2005 introduction_load_testing_blackboard_primer_draftB2 2005 introduction_load_testing_blackboard_primer_draft
B2 2005 introduction_load_testing_blackboard_primer_draft
 
Data Structures and Algorithms Unit 01
Data Structures and Algorithms Unit 01Data Structures and Algorithms Unit 01
Data Structures and Algorithms Unit 01
 
Expert System - Artificial intelligence
Expert System - Artificial intelligenceExpert System - Artificial intelligence
Expert System - Artificial intelligence
 
Survey on evolutionary computation tech techniques and its application in dif...
Survey on evolutionary computation tech techniques and its application in dif...Survey on evolutionary computation tech techniques and its application in dif...
Survey on evolutionary computation tech techniques and its application in dif...
 
Supervised learning techniques and applications
Supervised learning techniques and applicationsSupervised learning techniques and applications
Supervised learning techniques and applications
 

Mehr von Carlos M. Fernandes

Art, Science and Distributed Creativity
Art, Science and Distributed CreativityArt, Science and Distributed Creativity
Art, Science and Distributed CreativityCarlos M. Fernandes
 
Arte, Ciência e Criatividade Distribuída
Arte, Ciência e Criatividade DistribuídaArte, Ciência e Criatividade Distribuída
Arte, Ciência e Criatividade DistribuídaCarlos M. Fernandes
 
Performance and Scalability of Particle Swarms with with dynamic and Partiall...
Performance and Scalability of Particle Swarms with with dynamic and Partiall...Performance and Scalability of Particle Swarms with with dynamic and Partiall...
Performance and Scalability of Particle Swarms with with dynamic and Partiall...Carlos M. Fernandes
 
Adapting the Bak-Sneppen Model to a Dynamic and Partially Connected Grid of H...
Adapting the Bak-Sneppen Model to a Dynamic and Partially Connected Grid of H...Adapting the Bak-Sneppen Model to a Dynamic and Partially Connected Grid of H...
Adapting the Bak-Sneppen Model to a Dynamic and Partially Connected Grid of H...Carlos M. Fernandes
 
Fotografia, tecnologia e ciência
Fotografia, tecnologia e ciênciaFotografia, tecnologia e ciência
Fotografia, tecnologia e ciênciaCarlos M. Fernandes
 
Varying the Population Size of Artificial Foraging Swarms on Time Varying Lan...
Varying the Population Size of Artificial Foraging Swarms on Time Varying Lan...Varying the Population Size of Artificial Foraging Swarms on Time Varying Lan...
Varying the Population Size of Artificial Foraging Swarms on Time Varying Lan...Carlos M. Fernandes
 
A Self-Organized Criticality Mutation Operator for Dynamic Optimization Problems
A Self-Organized Criticality Mutation Operator for Dynamic Optimization ProblemsA Self-Organized Criticality Mutation Operator for Dynamic Optimization Problems
A Self-Organized Criticality Mutation Operator for Dynamic Optimization ProblemsCarlos M. Fernandes
 
Desenhos ferogénicos e outras paisagens escondidas ii
Desenhos ferogénicos e outras paisagens escondidas iiDesenhos ferogénicos e outras paisagens escondidas ii
Desenhos ferogénicos e outras paisagens escondidas iiCarlos M. Fernandes
 
UMDAs for Dynamic Optimization Problems
UMDAs for Dynamic Optimization ProblemsUMDAs for Dynamic Optimization Problems
UMDAs for Dynamic Optimization ProblemsCarlos M. Fernandes
 
Kaluptein. Photography by Carlos M. Fernandes
Kaluptein. Photography by Carlos M. FernandesKaluptein. Photography by Carlos M. Fernandes
Kaluptein. Photography by Carlos M. FernandesCarlos M. Fernandes
 
Particle swarm optimization (pso)
Particle swarm optimization (pso)Particle swarm optimization (pso)
Particle swarm optimization (pso)Carlos M. Fernandes
 
Da photographia à pherographia – notas sobre arte
Da photographia à pherographia – notas sobre arteDa photographia à pherographia – notas sobre arte
Da photographia à pherographia – notas sobre arteCarlos M. Fernandes
 

Mehr von Carlos M. Fernandes (15)

Hidden landscapes
Hidden landscapesHidden landscapes
Hidden landscapes
 
Art, Science and Distributed Creativity
Art, Science and Distributed CreativityArt, Science and Distributed Creativity
Art, Science and Distributed Creativity
 
Arte, Ciência e Criatividade Distribuída
Arte, Ciência e Criatividade DistribuídaArte, Ciência e Criatividade Distribuída
Arte, Ciência e Criatividade Distribuída
 
Nível 2 (aula 1)
Nível 2 (aula 1)Nível 2 (aula 1)
Nível 2 (aula 1)
 
Nível 2 (aula 2)
Nível 2 (aula 2)Nível 2 (aula 2)
Nível 2 (aula 2)
 
Performance and Scalability of Particle Swarms with with dynamic and Partiall...
Performance and Scalability of Particle Swarms with with dynamic and Partiall...Performance and Scalability of Particle Swarms with with dynamic and Partiall...
Performance and Scalability of Particle Swarms with with dynamic and Partiall...
 
Adapting the Bak-Sneppen Model to a Dynamic and Partially Connected Grid of H...
Adapting the Bak-Sneppen Model to a Dynamic and Partially Connected Grid of H...Adapting the Bak-Sneppen Model to a Dynamic and Partially Connected Grid of H...
Adapting the Bak-Sneppen Model to a Dynamic and Partially Connected Grid of H...
 
Fotografia, tecnologia e ciência
Fotografia, tecnologia e ciênciaFotografia, tecnologia e ciência
Fotografia, tecnologia e ciência
 
Varying the Population Size of Artificial Foraging Swarms on Time Varying Lan...
Varying the Population Size of Artificial Foraging Swarms on Time Varying Lan...Varying the Population Size of Artificial Foraging Swarms on Time Varying Lan...
Varying the Population Size of Artificial Foraging Swarms on Time Varying Lan...
 
A Self-Organized Criticality Mutation Operator for Dynamic Optimization Problems
A Self-Organized Criticality Mutation Operator for Dynamic Optimization ProblemsA Self-Organized Criticality Mutation Operator for Dynamic Optimization Problems
A Self-Organized Criticality Mutation Operator for Dynamic Optimization Problems
 
Desenhos ferogénicos e outras paisagens escondidas ii
Desenhos ferogénicos e outras paisagens escondidas iiDesenhos ferogénicos e outras paisagens escondidas ii
Desenhos ferogénicos e outras paisagens escondidas ii
 
UMDAs for Dynamic Optimization Problems
UMDAs for Dynamic Optimization ProblemsUMDAs for Dynamic Optimization Problems
UMDAs for Dynamic Optimization Problems
 
Kaluptein. Photography by Carlos M. Fernandes
Kaluptein. Photography by Carlos M. FernandesKaluptein. Photography by Carlos M. Fernandes
Kaluptein. Photography by Carlos M. Fernandes
 
Particle swarm optimization (pso)
Particle swarm optimization (pso)Particle swarm optimization (pso)
Particle swarm optimization (pso)
 
Da photographia à pherographia – notas sobre arte
Da photographia à pherographia – notas sobre arteDa photographia à pherographia – notas sobre arte
Da photographia à pherographia – notas sobre arte
 

Kürzlich hochgeladen

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
 
🐬 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
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking MenDelhi Call girls
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
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
 
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
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEarley Information Science
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Drew Madelung
 
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
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Miguel Araújo
 
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
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)wesley chun
 
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
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
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
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Servicegiselly40
 
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
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsEnterprise Knowledge
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationRadu Cotescu
 

Kürzlich hochgeladen (20)

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
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
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
 
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
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
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
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
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
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
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
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
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
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
 
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
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 

Optimizando e as-meta

  • 1. Optimizing evolutionary algorithms at program level JJ Merelo, A. M. Mora, Pedro Castillo, Juan L. Jiménez Laredo, Carlos Fernandes GeNeura team: http://geneura.wordpress.com Departamento de Arquitectura y Tecnología de Computadores: http://atc.ugr.es University of Granada: http://www.ugr.es
  • 2. Evolutionary Algorithms  EAs are population-based algorithms that rely on a certain number of parameters and operators Best parameter values and competence of operators are well studied. We know the limits of the EAs scalability However…
  • 3. Little attention is devoted to evolutionary algorithm implementation Even as it allows to design better algorihtms and obtain substantial improvement at the algorithm and runtime level
  • 4. Used tools Monitors Running time, used memory, resource usage Profilers Parts that are responsible for waisting resources
  • 6. Problem setup Fitness = MaxOnes Canonical evolutionary algorithm, élite = 2 Varied population and chromosome size Free software: http://bit.ly/bOk3z3
  • 7. Evolving an evolutionary algorithm program Eliminated Added
  • 8. Size always matters Caché for fitness computations Use of the tr Perl-specific function for computing fitness
  • 9. If we are more, we'll take more Using a profiler for finding a bottleneck: the sort function Change by Sort::Key It improves worst-case behavior. Blue uses previous slide function
  • 10. Conclusions Running time improves up to two orders of magnitude (for some population sizes) through changes in implementation. It is convenient to always bear in mind usual programming techniques and good practices. Future work: apply this to complex EA libraries such as Algorithm::Evolutionary, written in Perl, and other languages (Lua)

Hinweis der Redaktion

  1. La imagen está tomada de http://www.flickr.com/photos/dahlstroms/4083220012/
  2. Imagen obtenida de http://www.flickr.com/photos/sebilden/3429805384/
  3. Devel::NYTProf, un profiler para Perl desarrollado inicialmente para trabajar en el NYTimes (de ahí el nombre) y liberado; actualmente disponible en CPAN; es la mejor herramienta y más detallada que hay ahora mismo en Perl, produciendo una salida en HTML.
  4. Imagen CC obtenida de http://www.flickr.com/photos/rbanks/2292915/
  5. En el repositorio se pueden ver como diferentes versiones del mismo programa todos los programas que se han usado en la serie, usando la herramienta de diferencia entre programas que da Launchpad.
  6. The use of caché decreases running time by a constant, which is approximately the percentage of chromosomes that are generated repeatedly during the evolutionary algorithm. This gives also some insight over the algorithm itself: the one we're using is generating repeated chromosomes, independently of size. On the other hand, using tr, which is a function that translates letters in a string to other letters; in this case, 1 to nothing. As a side effect, it returns the number of translations. This is quite efficient since it runs over the string only once, and it does so in machine code, not language code. This means that, even as running time increases linearly with chromosome size, it does so less steeply
  7. No es la única mejora, se probaron también otros algoritmos como mergesort, y otros que no tuvieron tanto éxito. El comportamiento de los lenguajes de programación