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

Commitc3cdfaf

Browse files
authored
Replace callback_generation by on_generation
The parametetr on_generation is used instead of callback_generation.
1 parentf74ab9e commitc3cdfaf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@ ga_instance = pygad.GA(num_generations=num_generations,
219219
crossover_type=crossover_type,
220220
mutation_type=mutation_type,
221221
mutation_percent_genes=mutation_percent_genes,
222-
callback_generation=callback_generation)
222+
on_generation=callback_generation)
223223

224224
# Running the GA to optimize the parameters of the function.
225225
ga_instance.run()

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp