This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
""" | |
Author: Thomas Macrina | |
Date created: 06/23/2014 | |
Python Version: 2.7 | |
Use global class to allow GP functions to access previous values | |
""" | |
import random | |
from operator import * |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
""" | |
Author: Thomas Macrina | |
Date created: 04/15/2014 | |
Python Version: 2.7 | |
Simple DEAP strongly-typed GP setup to demonstrate | |
difficulties with ephemerals and scoop. | |
""" | |
import sys |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
""" | |
File name: gp_from_string_fix.py | |
Author: Thomas Macrina | |
Date created: 03/21/2014 | |
Python Version: 2.7 | |
Overwriting the from_string() method within DEAP's gp.py | |
to properly function with a strongly-typed primitive set. | |
line 30 corresponds to line 100 in gp.py v1.0.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
""" | |
File name: gp_alter.py | |
Author: Thomas Macrina | |
Date created: 03/21/2014 | |
Python Version: 2.7 | |
Overwriting the generate() method within DEAP's gp.py | |
to remove the need for "dummy" nodes within strongly-typed | |
individuals. |