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

Commit51c1bca

Browse files
committed
Change parameter name
1 parent990f1a1 commit51c1bca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎examples/example_multi_objective.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ def on_generation(ga_instance):
5353
# Running the GA to optimize the parameters of the function.
5454
ga_instance.run()
5555

56-
ga_instance.plot_fitness(labels=['Obj 1','Obj 2'])
56+
ga_instance.plot_fitness(label=['Obj 1','Obj 2'])
5757

5858
# Returning the details of the best solution.
5959
solution,solution_fitness,solution_idx=ga_instance.best_solution(ga_instance.last_generation_fitness)

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp