We will use various Python packages, such as NumPy, SciPy, scikit-learn, and Matplotlib, during the course of this book to build various things. If you use Windows, it is recommended that you use a SciPy-stack-compatible version of Python. You can check the list of compatible versions at http://www.scipy.org/install.html. These distributions come with all the necessary packages already installed. If you use MacOS X or Ubuntu, installing these packages is fairly straightforward. Here are some useful links for installation and documentation:
- NumPy: https://www.numpy.org/devdocs/user/install.html.
- SciPy: http://www.scipy.org/install.html.
- Scikit-learn: https://scikit-learn.org/stable/install.html.
- Matplotlib: https://matplotlib.org/users/installing.html.
Make sure that you have these packages installed on your machine before you proceed. In each recipe, we will give a detailed explanation of the functions that we will use in order to make it simple and fast.