Recent versions of DEAP can be used with either Python 2 or 3. In this book, we will be using Python 3.7. Python can be downloaded from the Python Software Foundation at this link: https://www.python.org/downloads/. Additional useful instructions can be found here: https://realpython.com/installing-python/.
The recommended ways to install DEAP are using easy_install or pip, for example:
pip install deap
For more information, check this DEAP documentation link: https://deap.readthedocs.io/en/master/installation.html. Conda install is available at this link: https://anaconda.org/conda-forge/deap.
In addition, we will be using various Python packages throughout the book.
For this chapter you will need the following packages:
- NumPy: http://www.numpy.org/
- Matplotlib: https://matplotlib.org/
- Seaborn: https://seaborn.pydata.org/
We are now ready to use DEAP...