Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitf74ab9e

Browse files
authored
Replace callback_generation by on_generation
The parametetr on_generation is used instead of callback_generation.
1 parent040b8e1 commitf74ab9e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎example.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ def callback_generation(ga_instance):
6363
crossover_type=crossover_type,
6464
mutation_type=mutation_type,
6565
mutation_percent_genes=mutation_percent_genes,
66-
callback_generation=callback_generation)
66+
on_generation=callback_generation)
6767

6868
# Running the GA to optimize the parameters of the function.
6969
ga_instance.run()

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp