Genetic Algorithms with Python
- Length: 433 pages
- Edition: 1
- Language: English
- Publisher: Leanpub
- Publication Date: 2016-09-29
- ISBN-10: 1540324001
- ISBN-13: 9781540324009
- Sales Rank: #865061 (See Top 100 Books)
Genetic algorithms are one of the tools you can use to apply machine learning to finding good, sometimes even optimal, solutions to problems that have billions of potential solutions. This book gives you experience making genetic algorithms work for you, using easy-to-follow example problems that you can fall back upon when learning to use other machine learning tools and techniques. Each chapter is a step-by-step tutorial that helps to build your skills at using genetic algorithms to solve problems using Python. Download the sample chapters for a brief introduction to genetic algorithms and the writing style used in this book.
Python is a high-level, low ceremony and powerful language whose code can be easily understood even by entry-level programmers. If you have experience with another programming language then you should have no difficulty learning Python by induction.
The code in this book is open source, licensed under the Apache License, Version 2.0. The final code from each chapter is available for download using a link at the end of the chapter.
Table of Contents
Chapter 1: Hello World!
Chapter 2: One Max Problem
Chapter 3: Sorted Numbers
Chapter 4: the 8 Queens Puzzle
Chapter 5: Graph Coloring
Chapter 6: Card Problem
Chapter 7: Knights Problem
Chapter 8: Magic Squares
Chapter 9: Knapsack Problem
Chapter 10: Solving Linear Equations
Chapter 11: Generating Sudoku
Chapter 12: Traveling Salesman Problem
Chapter 13: Approximating Pi
Chapter 14: Equation Generation
Chapter 15: The Lawnmower Problem
Chapter 16: Logic Circuits
Chapter 17: Regular Expressions
Chapter 18: Tic-tac-toe