News for hackers. Stuff that matters.
Re:Clever Algorithms: Nature-Inspired Programming Recipes by mahmud on Tuesday January 25, 2011 @11:58PM (#2142209)
The author is this Australian academic:

http://www.ict.swin.edu.au/personal/jbrownlee/

Re:Clever Algorithms: Nature-Inspired Programming Recipes by jasonb05 on Wednesday January 26, 2011 @12:28AM (#2142271)
I am no longer an academic. I had a go at the startup thing and am now a PhD surviving in industry :)

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

Re:Clever Algorithms: Nature-Inspired Programming Recipes by merijnv on Wednesday January 26, 2011 @04:50AM (#2142771)
As a (poor!) Computer Science student I want to give you much props for making a free version available. Just skimmed through a bit and the text seems very readable (good citations too). Hopefully this will finally help me close the gap between knowing the theory behind some AI techniques (especially neural networks) and actually implementing them. I'm certainly adding this to my list of books to get soon-ish.
Re:Clever Algorithms: Nature-Inspired Programming Recipes by jasonb05 on Wednesday January 26, 2011 @05:36AM (#2142843)
Great, I hope you find it useful!
Re:Clever Algorithms: Nature-Inspired Programming Recipes by inoop on Wednesday January 26, 2011 @08:50AM (#2143243)
I had a quick browse through some of the content, something that caught my eye on page 7, is that the first sentence of each subsection contains the word 'paradigm': "A paradigm that is concerned with the investigation ...", "A paradigm that considers collective intelligence as a behavior that emerges through ...", "Neural Networks are a paradigm that is concerned with the investigation of ...", and "Fuzzy Intelligence is a paradigm that is concerned with the investigation of fuzzy logic". You might consider some rewording there.

Other than that it looks like a really nice introduction, I'll probably keep it on hand as a reference guide.

Re:Clever Algorithms: Nature-Inspired Programming Recipes by jasonb05 on Wednesday January 26, 2011 @02:48PM (#2144768)
Nice catch. I just grepped the text and can see what you mean. I've logged an issue for it: https://github.com/jbrownlee/CleverAlgorithms/issues#issue/1...
Re:Clever Algorithms: Nature-Inspired Programming Recipes by huherto on Wednesday January 26, 2011 @07:13PM (#2145936)
I looks really nice. I am currently working on the "Introduction to Algorithms" by CLRS book and the MIT courseware. My next book was going to be "AI : A modern approach" by Norvig. But I am now hestiant. Your book looks really nice. And thank you for opening the book. Have you consider creating lectures Kahn style?
Re:Clever Algorithms: Nature-Inspired Programming Recipes by jasonb05 on Thursday January 27, 2011 @12:11AM (#2146673)
Russell and Norvig's "Artificial Intelligence: A Modern Approach" is excellent. I used it in my undergrad, and more recently bought the 3rd edition. For a broader treatment of AI, this book is a must!
Re:Clever Algorithms: Nature-Inspired Programming Recipes by Joakal on Wednesday January 26, 2011 @01:08AM (#2142353)
Are you allowing others to commit updates to git by adding programming examples, etc?

wikipedia would really benefit from the details/code too!

Re:Clever Algorithms: Nature-Inspired Programming Recipes by jasonb05 on Wednesday January 26, 2011 @01:20AM (#2142374)
Sure, why not! I'd love to see where this could go.

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.

Re:Clever Algorithms: Nature-Inspired Programming Recipes by foenix on Tuesday January 25, 2011 @09:26PM (#2141839)
Wow. This is a must read for future cognitive science scholars. I think I'm going to order this as a graduation present to myself.
Re:Clever Algorithms: Nature-Inspired Programming Recipes by joshrule on Wednesday January 26, 2011 @08:29AM (#2143185)
A related paper just came out in Science a few days ago. The authors used the inner workings of a fruit fly's brain to provide a robust solution to the Maximal Independent Set (MIS) problem.

Check it out here: http://barkai-serv.weizmann.ac.il/GroupPage/ http://www.sciencemag.org/content/331/6014/183.abstract

Re:Clever Algorithms: Nature-Inspired Programming Recipes by rst on Tuesday January 25, 2011 @09:43PM (#2141878)
Looks useful. If you like this, you might also like a look at learning algorithms which are less nature-inspired, but still effective --- Support Vector Machines, for instance.
Re:Clever Algorithms: Nature-Inspired Programming Recipes by jasonb05 on Wednesday January 26, 2011 @12:45AM (#2142318)
Agreed. I'm strongly considering working on a second volume on machine learning algorithms.

I chose nature inspired for this book because that was the general area of my graduate research.

Re:Clever Algorithms: Nature-Inspired Programming Recipes by _exec on Wednesday January 26, 2011 @12:48AM (#2142324)
Just bought a copy..thank you for making it available as a freely downloadable PDF :)
Re:Clever Algorithms: Nature-Inspired Programming Recipes by jasonb05 on Wednesday January 26, 2011 @01:22AM (#2142381)
Cheers, I hope you enjoy it. Happy to answer any questions, just shoot me an email any time on jasonb _AT_ cleveralgorithms.com
Re:Clever Algorithms: Nature-Inspired Programming Recipes by rbxbx on Wednesday January 26, 2011 @09:10AM (#2143293)
Curious as to what kind of profit you're getting seeing as this is through Lulu... would like to support your efforts, is purchasing through Lulu the ideal way?

(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)

Re:Clever Algorithms: Nature-Inspired Programming Recipes by jasonb05 on Wednesday January 26, 2011 @02:41PM (#2144731)
Spreading the word is probably the best way to support the project, thanks for asking. Buying a paperback results in a few bucks royalty for me - which is nice - but will never pay for my time on this (not the point anyway).

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.

Re:Clever Algorithms: Nature-Inspired Programming Recipes by cuttinedg on Tuesday February 01, 2011 @04:46PM (#2167561)
I work as a developer at Lulu. I had forwarded this to my colleagues and asked around and the general consensus is that code should not be look fuzzy. If the source image is fuzzy (say a screen shot of code vs fixed width font) then it would end up being fuzzy in print.

You book has been marked as a staff-pick now. Hoping that this will help in spreading the word.

Re:Clever Algorithms: Nature-Inspired Programming Recipes by jasonb05 on Sunday February 06, 2011 @06:50PM (#2186852)
great to hear, thanks a lot!
Re:Clever Algorithms: Nature-Inspired Programming Recipes by _exec on Wednesday February 02, 2011 @07:28PM (#2172957)
Just received the book today; Code looks fine and readable!
Re:Clever Algorithms: Nature-Inspired Programming Recipes by jasonb05 on Sunday February 06, 2011 @06:50PM (#2186854)
glad to here it!
Re:Clever Algorithms: Nature-Inspired Programming Recipes by wladimir on Wednesday January 26, 2011 @03:56AM (#2142660)
It was a long time ago I that was really excited by a computer science book but this is exactly the kind of data analysis/optimization/machine learning stuff that interests me. I'm definitely going to buy a copy.

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.

Re:Clever Algorithms: Nature-Inspired Programming Recipes by thalur on Wednesday January 26, 2011 @08:53AM (#2143252)
Have you considered selling it on the Kindle/iBooks/B&N etc?
Re:Clever Algorithms: Nature-Inspired Programming Recipes by jasonb05 on Wednesday January 26, 2011 @02:37PM (#2144713)
I am organizing a distribution package. I believe it could take up to 4-6 weeks (sorry).