Clever Algorithms: Nature-Inspired Programming Recipes
cleveralgorithms.com
cleveralgorithms.com
The book has been released (today!) as a paperback, free PDF and free online. You may also fork the content on github if your keen: https://github.com/jbrownlee/CleverAlgorithms
I'm happy to answer any questions.
Some guff from the back cover of the book:
Implementing an Artificial Intelligence algorithm is difficult. Algorithm descriptions may be incomplete, inconsistent, and distributed across a number of papers, chapters and even websites. This can result in varied interpretations of algorithms, undue attrition of algorithms, and ultimately bad science.
This book is an effort to address these issues by providing a handbook of algorithmic recipes drawn from the fields of Metaheuristics, Biologically Inspired Computation and Computational Intelligence, described in a complete, consistent, and centralized manner. These standardized descriptions were carefully designed to be accessible, usable, and understandable. Most of the algorithms described were originally inspired by biological and natural systems, such as the adaptive capabilities of genetic evolution and the acquired immune system, and the foraging behaviors of birds, bees, ants and bacteria. An encyclopedic algorithm reference, this book is intended for research scientists, engineers, students, and interested amateurs.
Each algorithm description provides a working code example in the Ruby Programming Language. Source code and additional resources can be downloaded from the books companion website online at http://www.CleverAlgorithms.com
Other than that it looks like a really nice introduction, I'll probably keep it on hand as a reference guide.
wikipedia would really benefit from the details/code too!
Funny you should mention wikipedia. I started out by writing a heap of entries in wikipedia and ended up not being satisfied. Typically bots or random people coming in and messing up my researched and distilled summaries. Also wikipedia is a general audience, I wanted to target researches like me and programmers like the kid I used to be.
The book gave me a more controlled environment, and a permissive license feels like I'm still giving back in a useful way.
Check it out here: http://barkai-serv.weizmann.ac.il/GroupPage/ http://www.sciencemag.org/content/331/6014/183.abstract
I chose nature inspired for this book because that was the general area of my graduate research.
(Also curious as to the quality of their prints, I've heard in the past that code samples can be fuzzy, but I suppose that would be on a per book basis, and have not directly observed this myself)
I have two proof copies sitting here on my desk - the code does not look fuzzy to me, but as you allude, LuLu subcontracts to local printers and paperbacks may vary by region.
You book has been marked as a staff-pick now. Hoping that this will help in spreading the word.
The text looks very readable. The code examples are in Ruby, which I don't really know, but that's probably no problem as it's supposed to be similar to Python.