I just checked in the scipy.ga package from the svn server, but failed to run the example: c:\Python24\Lib\site-packages\scipy\ga>python examples.py Warning: The key "migrants" in not a valid setting. The valid settings are ['pop_size', 'p_replace', 'p_cross', 'p_mutate', 'p_devia tion', 'gens', 'rand_seed', 'rand_alg', 'dbase', 'update_rate'] Warning: The key "num_pops" in not a valid setting. The valid settings are ['pop_size', 'p_replace', 'p_cross', 'p_mutate', 'p_devia tion', 'gens', 'rand_seed', 'rand_alg', 'dbase', 'update_rate'] Traceback (most recent call last): File "examples.py", line 64, in ? ex1() File "examples.py", line 60, in ex1 galg.evolve() File "c:\Python24\lib\site-packages\scipy\ga\algorithm.py", line 127, in evolv e self.initialize() File "c:\Python24\lib\site-packages\scipy\ga\algorithm.py", line 60, in initia lize if reseed: rv.initialize(seed = sd, algorithm = alg) AttributeError: 'module' object has no attribute 'initialize' In [2]: sp.__version__ Out[2]: '0.4.9' Might it possible broken, or is something the matter with my setup? Thanks, Jelle
participants (1)
-
Jelle Feringa / EZCT Architecture & Design Research