Getting Started

Installation

This library can be installed with:

pip install deap-er

or if you’re using the Poetry package manager:

poetry add deap-er


Namespaces

The functionality of this library is divided into the following namespaces:

  • base - The main Toolbox and Fitness classes.

  • creator - Type creator for use with toolboxes.

  • tools - Essential evolution components:

    • algorithms

    • operators

    • strategies

    • records

    • utilities

    • benchmarks

  • gp - Components for genetic programming.

  • env - The Checkpoint class for state persistence.

  • dtypes - Datatype aliases used by this library.

These namespaces can be imported with:

from deap_er import base, creator, tools, gp, env, dtypes