add gene type RNN

This commit is contained in:
wls2002
2023-07-19 15:43:49 +08:00
parent 0a2a9fd1be
commit a684e6584d
18 changed files with 248 additions and 129 deletions

View File

@@ -1,13 +1,14 @@
[basic]
num_inputs = 2
num_outputs = 1
maximum_nodes = 100
maximum_connections = 100
maximum_species = 100
maximum_nodes = 50
maximum_conns = 100
maximum_species = 10
forward_way = "pop"
batch_size = 4
random_seed = 0
network_type = 'feedforward'
network_type = "feedforward"
activate_times = 10
[population]
fitness_threshold = 3.9999
@@ -18,11 +19,11 @@ pop_size = 1000
[genome]
compatibility_disjoint = 1.0
compatibility_weight = 0.5
conn_add_prob = 0.5
conn_add_prob = 0.4
conn_add_trials = 1
conn_delete_prob = 0.5
conn_delete_prob = 0
node_add_prob = 0.2
node_delete_prob = 0.2
node_delete_prob = 0
[species]
compatibility_threshold = 3.0