small medium large xlarge

Genetic Algorithms and Machine Learning for Programmers, in print

January 16, 2019

Machine learning is one of the hottest topics in the industry right now, but for all the high-level think pieces written about it, there's not a lot of information about how to write the code that makes machine learning possible, especially for beginners. Genetic Algorithms and Machine Learning for Programers fills that gap with clear, usable examples in C++, Python, and JavaScript. Learn about genetic algorithms, swarm behavior, and Monte Carlo simulations.

Whether you're interested in applying machine learning for your business, want to update your skills, or just want to know what all the noise is about, you can boost your machine learning knowledge and get some hands-on practice. Now in print from

Get started today!

Genetic Algorithms and Machine Learning for Programmers: Create AI Models and Evolve Solutions

Discover machine learning algorithms with a handful of self-contained recipes. Build a repertoire of algorithms, discovering terms and approaches that apply generally. Bake intelligence into your algorithms, guiding them to discover good solutions to problems.

Use heuristics and design fitness functions, build genetic algorithms, and make nature-inspired swarms with ants, bees, and particles. Create Monte Carlo simulations, investigate cellular automata, and find minima and maxima using hill climbing and simulated annealing. Try selection methods, including tournament and roulette wheels, and learn about heuristics, fitness functions, metrics, and clusters.

Test your code and get inspired to try new problems. Work through scenarios to code your way out of a paper bag, an important skill for any competent programmer. See how the algorithms explore and learn by creating visualizations of each problem. Learn the language professionals use and get inspired to design your own machine learning projects.

Now available in print from

Upcoming Author Appearances

  • 2019-02-04 Frances Buontempo,
    C++ On Sea, Folkestone, Kent, UK from 4th-6th February 2019.
  • 2019-02-21 Frances Buontempo,
    nor(DEV):con 2019, Norfolk, UK
  • Who Are We?

    The Pragmatic Bookshelf publishing imprint is wholly owned by The Pragmatic Programmers, LLC.

    Andy Hunt and Dave Thomas founded the company with a simple goal: to improve the lives of professional developers. We create timely, practical books, audio books, and videos on classic and cutting-edge topics to help you learn and practice your craft.

    We are not a giant, faceless, greed-soaked corporation. We're a small group of experienced professionals committed to helping make software development easier.

    Thank you for your continued support!

    Don't Get Left Out

    Are your friends jealous that you get these spiffy email newsletters and they don't? Clue them in that all they need to do is create an account on (email address and password is all it takes) and select the checkbox to receive newsletters.

    Are you following us on Twitter and/or Facebook? Here's where you can find us and keep up with the latest news and commentary, and occasional discounts:

    Tell your friends! Tweet this

    Follow us on Twitter: pragprog</a>, <a href="">pragpub, Andy Hunt @PragmaticAndy.

    Coming Soon:

    • Programming Crystal: Create High-Performance, Safe, Concurrent Apps, in print
    • Modern Systems Programming with Scala Native: Write Lean, High-Performance Code without the JVM, in beta
    • Docker for Rails Developers: Build, Ship, and Run Your Applications Everywhere, in print

    Recently Released:

    Thanks for your continued support,

    Andy Hunt
    Publisher, Pragmatic Bookshelf

    Books • eBooks • PragPub Magazine • Audiobooks and Screencasts