biophysics_fitting
❭ optimizer
❭ eaAlphaMuPlusLambdaCheckpoint
eaAlphaMuPlusLambdaCheckpoint¶
-
biophysics_fitting.optimizer.eaAlphaMuPlusLambdaCheckpoint(population, toolbox, mu, cxpb, mutpb, ngen, stats=
None
, halloffame=None
, cp_frequency=1
, db_run=None
, continue_cp=False
, db=None
)¶ This is the \((~\alpha,\mu~,~\lambda)\) evolutionary algorithm
- Parameters:¶
population (list) – list of deap Individuals
toolbox (deap Toolbox)
mu (int) – Total parent population size of EA
cxpb (float) – Crossover probability
mutpb (float) – Mutation probability
ngen (int) – Total number of generation to run
stats (deap.tools.Statistics) – generation of statistics
halloffame (deap.tools.HallOfFame) – hall of fame
cp_frequency (int) – generations between checkpoints
cp_filename (DataBase or None) – db_run, where the checkpoint is stored in [generation]_checkpoint. Was: path to checkpoint filename
continue_cp (bool) – whether to continue