You are here

Breakthrough!

Monday, Tuesday: I looked into A Field Guide to Genetic Programming.

Wednesday: I continued looking into A Field Guide to Genetic Programming, had meeting with Charles about looking into ephemeral constants that can generate float values.

Thursday: Continued looking into A Field Guide to Genetic Programming, had meeting with Charles about looking into ephemeral constants that can generate float values.

Friday: I made a breakthrough! http://docs.python.org/2/library/random.html used this:

     random.random()
     Return the next random floating point number in the range [0.0, 1.0).

So, I used this in line 49 in the pyevolve_ex18a_gp file: 'ephemeral:random.random()'

Then, I got this output where there are decimals in the leaves (look at the GTreeGP at thte bottom)!

This started out as a slow progressing week but ended great!