complete normal neat algorithm

This commit is contained in:
wls2002
2023-07-18 23:55:36 +08:00
parent 40cf0b6fbe
commit 0a2a9fd1be
26 changed files with 880 additions and 251 deletions

View File

@@ -1,29 +1,26 @@
[basic]
num_inputs = 2
num_outputs = 1
maximum_nodes = 5
maximum_connections = 5
maximum_species = 10
maximum_nodes = 100
maximum_connections = 100
maximum_species = 100
forward_way = "pop"
batch_size = 4
random_seed = 0
network_type = 'feedforward'
[population]
fitness_threshold = 3.99999
fitness_threshold = 3.9999
generation_limit = 1000
fitness_criterion = "max"
pop_size = 1000
[gene]
gene_type = "normal"
[genome]
compatibility_disjoint = 1.0
compatibility_weight = 0.5
conn_add_prob = 0.4
conn_add_prob = 0.5
conn_add_trials = 1
conn_delete_prob = 0.4
conn_delete_prob = 0.5
node_add_prob = 0.2
node_delete_prob = 0.2
@@ -34,7 +31,7 @@ max_stagnation = 15
genome_elitism = 2
survival_threshold = 0.2
min_species_size = 1
spawn_number_move_rate = 0.5
spawn_number_change_rate = 0.5
[gene-bias]
bias_init_mean = 0.0