Commit Graph

12 Commits

Author SHA1 Message Date
wls2002
3d5b80c6fa add action_policy for problem; 2024-06-07 17:09:16 +08:00
wls2002
edfb0596e7 add input_transform and update_input_transform;
change the args for genome.forward.
Origin: (state, inputs, transformed)
New: (state, transformed, inputs)
2024-06-03 10:53:15 +08:00
wls2002
a07a3b1cb2 add KNN 2024-06-02 19:38:48 +08:00
wls2002
4ad9f0a85a remove attr enable for conn 2024-05-31 22:06:25 +08:00
wls2002
d6e9ff5d9a fix bug in restore genome. 2024-05-31 19:43:14 +08:00
wls2002
3ea9986bd4 add "update_by_batch" in genome;
add "normalized" gene, which can do normalization before activation func.
add related test.
2024-05-30 23:12:11 +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
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
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
47dbcbea80 change repo structure; modify readme 2024-03-26 21:58:27 +08:00