Search icon
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Hands-On Genetic Algorithms with Python

You're reading from  Hands-On Genetic Algorithms with Python

Product type Book
Published in Jan 2020
Publisher Packt
ISBN-13 9781838557744
Pages 346 pages
Edition 1st Edition
Languages
Author (1):
Eyal Wirsansky Eyal Wirsansky
Profile icon Eyal Wirsansky

Table of Contents (18) Chapters

Preface Section 1: The Basics of Genetic Algorithms
An Introduction to Genetic Algorithms Understanding the Key Components of Genetic Algorithms Section 2: Solving Problems with Genetic Algorithms
Using the DEAP Framework Combinatorial Optimization Constraint Satisfaction Optimizing Continuous Functions Section 3: Artificial Intelligence Applications of Genetic Algorithms
Enhancing Machine Learning Models Using Feature Selection Hyperparameter Tuning of Machine Learning Models Architecture Optimization of Deep Learning Networks Reinforcement Learning with Genetic Algorithms Section 4: Related Technologies
Genetic Image Reconstruction Other Evolutionary and Bio-Inspired Computation Techniques Other Books You May Enjoy

Real-coded genetic algorithms

So far, we have seen chromosomes that represented binary or integer parameters. Consequently, the genetic operators were suitable for working on these types of chromosomes. However, we often encounter problems where the solution space is continuous. In other words, the individuals are made up of real (floating-point) numbers.

Historically, genetic algorithms used binary strings to represent integers as well as real numbers, however, this was not ideal. The precision of a real number represented using a binary string is limited by the length of the string (number of bits). Since we need to determine this length in advance, we may end up with binary strings that are too short, resulting in insufficient precision, or are overly long.

Moreover, when a binary string is used to represent a number, the significance of each bit varies by its location—...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $15.99/month. Cancel anytime}