Commit Graph

22 Commits

Author SHA1 Message Date
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
cd92f411dc add args record_episode in rl tasks, with related test "test_record_episode.ipynb";
add args return_data in func_fit tasks.
2024-05-30 17:05:56 +08:00
wls2002
20320105e6 move crossover_gene from ga.crossover to gene.basegene. 2024-05-30 15:06:08 +08:00
wls2002
9f6154d128 update HyperNEAT;
All example can currently run!
2024-05-26 19:51:22 +08:00
wls2002
18c3d44c79 complete fully stateful!
use black to format all files!
2024-05-26 18:08:43 +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
bc378cec7f make fully stateful in module ga. 2024-05-25 16:54:19 +08:00
wls2002
c0a7503168 make fully stateful in module ga. 2024-05-25 16:47:25 +08:00
wls2002
485d481745 make fully stateful in module genome. 2024-05-25 16:19:06 +08:00
wls2002
625c261a49 make fully stateful in module gene. 2024-05-25 16:13:41 +08:00
wls2002
3b2f917aee update class State. Add method register and update method update. 2024-05-25 16:05:47 +08:00
wls2002
25f66dc2fb re-add all files 2024-05-24 20:16:07 +08:00
WLS2002
3547aa4c66 Merge branch 'main' into advance 2024-05-24 19:42:03 +08:00
wls2002
1fe5d5fca2 disable activation in the output node of network;
we recommend to use output_transform;
change hyperparameters (strong) in XOR example;
2024-05-22 11:09:25 +08:00
wls2002
6a37563696 fix bug in crossover: the child from two normal networks should always be normal. 2024-05-22 10:27:32 +08:00
Priokin
40b7d8360c initialize methods 2024-05-21 14:34:01 +08:00
wls2002
d1559317d1 update readme.md for environment configuration 2024-05-20 20:45:48 +08:00
Djordje Grbic
4336c81ae3 Remove state from act_func arguments 2024-04-16 12:18:22 +02:00
Djordje Grbic
5fdf33ea14 Fix env_name typo 2024-04-16 11:18:15 +02:00
wls2002
47dbcbea80 change repo structure; modify readme 2024-03-26 21:58:27 +08:00