Skip to content

Commit

Permalink
Merge pull request #247 from ahmedfgad/master
Browse files Browse the repository at this point in the history
Keep up to date
  • Loading branch information
ahmedfgad authored Nov 7, 2023
2 parents c587ef5 + 1ddbeb0 commit 9610738
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ prediction = numpy.sum(numpy.array(function_inputs)*solution)
print(f"Predicted output based on the best solution : {prediction}")

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

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

0 comments on commit 9610738

Please sign in to comment.