1
$\begingroup$

In the DEAP algorithms (see documentation here), I notice that we need to specify the the number of generations (NGEN). I was advised that convergence has been achieved if the Pareto curve is smooth. How can I monitor for convergence in DEAP?

Update: It is possible to monitor for convergence by specifying a "smoothness" value in the stats. However, I'm still confused about how to define "smoothness". For example, consider the Knapsack problem specified here. How do we monitor for smoothness in this example?

$\endgroup$

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.