fix bug for record the best genome.

This commit is contained in:
wls2002
2024-05-31 15:36:47 +08:00
parent 6aa9011043
commit 47b1cacb57
3 changed files with 8 additions and 8 deletions

View File

@@ -19,10 +19,10 @@ if __name__ == "__main__":
),
output_transform=Act.sigmoid, # the activation function for output node
mutation=DefaultMutation(
node_add=0.05,
conn_add=0.05,
node_delete=0.05,
conn_delete=0.05,
node_add=0.1,
conn_add=0.1,
node_delete=0.1,
conn_delete=0.1,
),
),
pop_size=1000,