8000 Merge pull request #247 from ahmedfgad/master · madprog/GeneticAlgorithmPython@9610738 · GitHub
[go: up one dir, main page]

Skip to content

Commit 9610738

Browse files
authored
Merge pull request ahmedfgad#247 from ahmedfgad/master
Keep up to date
2 parents c587ef5 + 1ddbeb0 commit 9610738

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
@@ -212,7 +212,7 @@ prediction = numpy.sum(numpy.array(function_inputs)*solution)
212212
print(f"Predicted output based on the best solution : {prediction}")
213213

214214
if ga_instance.best_solution_generation != -1:
215-
print(g"Best fitness value reached after {ga_instance.best_solution_generation} generations.")
215+
print(f"Best fitness value reached after {ga_instance.best_solution_generation} generations.")
216216

217217
# Saving the GA instance.
218218
filename = 'genetic' # The filename to which the instance is saved. The name is without extension.

0 commit comments

Comments
 (0)
0