nature-of-code / The-Nature-of-Code-archive

The very first build system for The Nature of Code
http://natureofcode.com
913 stars 151 forks source link

Update 09_ga.asc #340

Closed runemadsen closed 10 years ago

runemadsen commented 10 years ago

Hi Dan

Here's a minor bug that I found while reading up on genetic algorithms :-)

Changing genes array initialization to new PVector for thrust example instead of new float which seems to be left behind from former example.

shiffman commented 10 years ago

awesome, thank you!! hope the chapter was helpful.

runemadsen commented 10 years ago

Super helpful. I'm trying to implement Random Forest classification with @atduskgreg's OpenCV library per @hebali's suggestion. I'll use that tree in my fitness function for my genetic algorithm. Working on it here:

https://github.com/runemadsen/random-forest-processing-opencv