wls2002
|
dfc8f9198e
|
add repr for genome and gene;
add ipynb test for testing whether add node or add conn will not change the output for the network.
|
2024-06-09 22:32:29 +08:00 |
|
wls2002
|
52e5d603f5
|
add save and load function for classes.
|
2024-06-09 20:33:02 +08:00 |
|
wls2002
|
e65200a94e
|
modify the behavior for mutate_add_node and mutate_add_conn. Currently, this two mutation will just change the structure of the network, but not influence the output for the network.
|
2024-06-01 20:42:42 +08:00 |
|
wls2002
|
5bd6e5c357
|
add "update_by_batch" in gene;
add flatten_conns as an inverse function for unflatten_conns;
add "test_flatten.ipynb" as test for them.
|
2024-05-30 19:44:52 +08:00 |
|
wls2002
|
20320105e6
|
move crossover_gene from ga.crossover to gene.basegene.
|
2024-05-30 15:06:08 +08:00 |
|
wls2002
|
cf69b916af
|
use black format all files;
remove "return state" for functions which will be executed in vmap;
recover randkey as args in mutation methods
|
2024-05-26 15:46:04 +08:00 |
|
wls2002
|
79d53ea7af
|
All function with state will update the state and return it.
Remove randkey args in functions with state, since it can attach the randkey by states.
|
2024-05-25 20:45:57 +08:00 |
|
wls2002
|
5626fddf41
|
add params key into setup.
|
2024-05-25 17:00:20 +08:00 |
|
wls2002
|
625c261a49
|
make fully stateful in module gene.
|
2024-05-25 16:13:41 +08:00 |
|
wls2002
|
47dbcbea80
|
change repo structure; modify readme
|
2024-03-26 21:58:27 +08:00 |
|