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

Commit 1ddbeb0

Browse files
Merge pull request #243 from urselrod/master
fix format string typo in README
2 parents 61ab66a + 7d51c8b commit 1ddbeb0

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)

AltStyle によって変換されたページ (->オリジナル) /