Python 101 + Genetic Algorithms with Python
Python 101 + Genetic Algorithms with Python
About the Bundle
About the Books
Genetic Algorithms with Python
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. Download the sample chapters for a brief introduction to genetic algorithms and the writing style used in this book.
Python is used as the teaching language in this book because it is a high-level, low ceremony, and powerful language whose code can be easily understood even by entry-level programmers. Because Python is used for teaching, but is not being taught, the use of Python-specific features that might make the code harder to follow for non-Python programmers has been minimized. This means that if you have experience with another programming language then you should have no difficulty learning Python by induction while concentrating on learning about genetic algorithms. Additionally, it should not be difficult for you to translate the working code used in this book to your favorite programming language on-the-fly, depending on the capabilities and support libraries available for your preferred language.
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.
Python 101
2nd Edition
The second edition of Python 101 is completely rewritten from the ground up. In this book, you will learn the Python programming language and lots more.
This book is split up into four sections:
- The Python Language
- Intermediate Topics
- Creating Sample Applications
- Distributing Your Code
Following is how it will break down in more detail:
Part I - The Python Language
- 01 - Installation
- 02 - Python editors
- 03 - Python style guide / comment rules
- 04 - Integers and floats
- 05 - Lists
- 06 - Tuples
- 07 - Dictionaries
- 08 - Sets
- 09 - Strings
- 10 - Boolean
- 11 - Conditional statements
- 12 - Loops
- 13 - Comprehensions
- 14 - Exception Handling
- 15 - Files
- 16 - Imports
- 17 - Functions
- 18 - Classes
In Part 2 - Intermediate Topics, you will then learn about some intermediate topics, such as:
- Introspection
- Pip
- Python virtual environments
- Threading
- Multiprocessing
- Debugging
- Decorators
- Profiling
- Testing
- Version Control (git)
In Part 3 - Creating Sample Applications, you will learn how to write sample applications:
- How to create a command line application (argparse)
- How to parse XML
- How to parse JSON
- How to Scrape a website
- How to Work with CSV files
- How to work with a database (sqlite)
- How to Create an Excel document
- How to Generate a PDF
Finally in Part 4 you will learn how distribute your code as an executable and as source.
The Leanpub 60 Day 100% Happiness Guarantee
Within 60 days of purchase you can get a 100% refund on any Leanpub purchase, in two clicks.
Now, this is technically risky for us, since you'll have the book or course files either way. But we're so confident in our products and services, and in our authors and readers, that we're happy to offer a full money back guarantee for everything we sell.
You can only find out how good something is by trying it, and because of our 100% money back guarantee there's literally no risk to do so!
So, there's no reason not to click the Add to Cart button, is there?
See full terms...
Earn $8 on a $10 Purchase, and $16 on a $20 Purchase
We pay 80% royalties on purchases of $7.99 or more, and 80% royalties minus a 50 cent flat fee on purchases between $0.99 and $7.98. You earn $8 on a $10 sale, and $16 on a $20 sale. So, if we sell 5000 non-refunded copies of your book for $20, you'll earn $80,000.
(Yes, some authors have already earned much more than that on Leanpub.)
In fact, authors have earnedover $14 millionwriting, publishing and selling on Leanpub.
Learn more about writing on Leanpub
Free Updates. DRM Free.
If you buy a Leanpub book, you get free updates for as long as the author updates the book! Many authors use Leanpub to publish their books in-progress, while they are writing them. All readers get free updates, regardless of when they bought the book or how much they paid (including free).
Most Leanpub books are available in PDF (for computers) and EPUB (for phones, tablets and Kindle). The formats that a book includes are shown at the top right corner of this page.
Finally, Leanpub books don't have any DRM copy-protection nonsense, so you can easily read them on any supported device.
Learn more about Leanpub's ebook formats and where to read them