biopython v1.71.0 Bio.NeuralNetwork.Gene.Schema.SimpleFinisher
Determine when we are done evolving motifs.
This takes the very simple approach of halting evolution when the GA has proceeded for a specified number of generations and has a given number of unique schema with positive fitness.
Link to this section Summary
Functions
Initialize the finisher with its parameters
Determine when we can stop evolving the population
Link to this section Functions
Link to this function
__init__()
Initialize the finisher with its parameters.
Arguments:
- num_schemas — the number of useful (positive fitness) schemas we want to generate.
- min_generations — The minimum number of generations to allow the GA to proceed.
Link to this function
is_finished()
Determine when we can stop evolving the population.