You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The ga_instance.pareto_fronts available after ga_instance.run() is calculated on ga_instance.previous_generation_fitness, it should be updated to reflect ga_instance.last_generation_fitness.
The text was updated successfully, but these errors were encountered:
Release Date 17 February 2024
1. After the last generation and before the `run()` method completes, update the 2 instance attributes: 1) `last_generation_parents` 2) `last_generation_parents_indices`. This is to keep the list of parents up-to-date with the latest population fitness `last_generation_fitness`. #275
Release Date 17 February 2024
1. After the last generation and before the `run()` method completes, update the 2 instance attributes: 1) `last_generation_parents` 2) `last_generation_parents_indices`. This is to keep the list of parents up-to-date with the latest population fitness `last_generation_fitness`. #275
2. 4 methods with names starting with `run_`. Their purpose is to keep the main loop inside the `run()` method clean. Check the [Other Methods](https://pygad.readthedocs.io/en/latest/pygad.html#other-methods) section for more information.
The
ga_instance.pareto_fronts
available afterga_instance.run()
is calculated onga_instance.previous_generation_fitness
, it should be updated to reflectga_instance.last_generation_fitness
.The text was updated successfully, but these errors were encountered: