avatarThe Pragmatic Programmers

Free AI web copilot to create summaries, insights and extended knowledge, download it at here

771

Abstract

mization problem.</p><p id="8153">While your previous solution to the One-Max problem was effective, it’s difficult to both tweak and expand. More advanced applications of genetic algorithms will require extensive fine-tuning and experimentation to achieve the best results, which means you need to create modular and easily customizable solutions.</p><p id="fbeb">In this chapter, you’ll once again attack the One-Max problem; but your goal this time around is to use the One-Max problem to help you design and build a framework you can use to create genetic algorithms. You can then apply this framework and structure to other problems — making it easier to tweak the different aspects of your algorithms.</p><p id="f816"><i>👈 <a href="https://readmedium.com/what-you-

Options

learned-48b38bec5c88">What You Learned</a> | <a href="https://readmedium.com/table-of-contents-879fc8614df">TOC</a> | <a href="https://readmedium.com/reviewing-genetic-algorithms-6b60abbc4390">Reviewing Genetic Algorithms</a> 👉</i></p><p id="3b60"><i>Genetic Algorithms in Elixir by Sean Moriarity can be purchased in other book formats <a href="https://pragprog.com/titles/smgaelixir">directly from the Pragmatic Programmers</a>. If you notice a code error or formatting mistake, please let us know <a href="https://readmedium.com/how-to-report-errata-4e164674347a">here</a> so that we can fix it.</i></p><figure id="23cb"><img src="https://cdn-images-1.readmedium.com/v2/resize:fit:800/1*U2E2a23SuM4520w9CUXSWw.jpeg"><figcaption></figcaption></figure></article></body>

Chapter 2 Breaking Down Genetic Algorithms

Genetic Algorithms in Elixir — by Sean Moriarity (19 / 101)

👈 What You Learned | TOC | Reviewing Genetic Algorithms 👉

In the previous chapter, you learned about informed search and why it’s superior to brute-force search. You were introduced to genetic algorithms and saw how they balance exploitation and exploration for different problems. You used this knowledge to tackle the One-Max problem, which is an introductory optimization problem.

While your previous solution to the One-Max problem was effective, it’s difficult to both tweak and expand. More advanced applications of genetic algorithms will require extensive fine-tuning and experimentation to achieve the best results, which means you need to create modular and easily customizable solutions.

In this chapter, you’ll once again attack the One-Max problem; but your goal this time around is to use the One-Max problem to help you design and build a framework you can use to create genetic algorithms. You can then apply this framework and structure to other problems — making it easier to tweak the different aspects of your algorithms.

👈 What You Learned | TOC | Reviewing Genetic Algorithms 👉

Genetic Algorithms in Elixir by Sean Moriarity can be purchased in other book formats directly from the Pragmatic Programmers. If you notice a code error or formatting mistake, please let us know here so that we can fix it.

Smgaelixir
Recommended from ReadMedium