File size: 1,739 Bytes
8e35b08
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
# config-feedforward-v4.txt

[NEAT]
fitness_criterion     = max
fitness_threshold     = 0.96  # V4 için eşik, zorluk arttı, ayarlanabilir
pop_size              = 200   # Daha zor problem için popülasyonu artırabiliriz
reset_on_extinction   = False

[DefaultGenome]
# ... (V3'teki bias, activation, aggregation, compatibility, connection, enabled ayarları aynı kalabilir) ...
bias_init_mean          = 0.0
bias_init_stdev         = 1.0
bias_max_value          = 30.0
bias_min_value          = -30.0
bias_mutate_power       = 0.5
bias_mutate_rate        = 0.7
bias_replace_rate       = 0.1
compatibility_disjoint_coefficient = 1.0
compatibility_weight_coefficient   = 0.5
conn_add_prob           = 0.5
conn_delete_prob        = 0.5
enabled_default         = True
enabled_mutate_rate     = 0.01
feed_forward            = True
initial_connection      = full_nodirect

# node add/remove rates
node_add_prob           = 0.3 # Biraz daha fazla yapısal çeşitlilik için artırılabilir
node_delete_prob        = 0.2

# network parameters
num_hidden              = 0
num_inputs              = 2 # V3'teki gibi
num_outputs             = 2 # <-- YENİ DEĞER: Artık 2 çıktımız var

# ... (V3'teki species, stagnation, weight ayarları aynı kalabilir) ...
species_fitness_func = max
max_stagnation       = 20
species_set_size     = 30
weight_init_mean      = 0.0
weight_init_stdev     = 1.0
weight_max_value      = 30
weight_min_value      = -30
weight_mutate_power   = 0.5
weight_mutate_rate    = 0.8
weight_replace_rate   = 0.1


[DefaultSpeciesSet]
compatibility_threshold = 3.0

[DefaultStagnation]
species_fitness_func = max
max_stagnation       = 15
species_elitism      = 2