Installing packages
Throughout this book, we will use various packages such as NumPy, SciPy, scikit-learn, and matplotlib. Make sure you install these packages before you proceed.
If you use Ubuntu or Mac OS X, installing these packages is straightforward. All these packages can be installed using a one-line command. Here are the relevant links for installation:
- NumPy: http://docs.scipy.org/doc/numpy-1.10.1/user/install.html
- SciPy: http://www.scipy.org/install.html
- scikit-learn: http://scikit-learn.org/stable/install.html
- matplotlib: http://matplotlib.org/1.4.2/users/installing.html
If you are on Windows, you should have installed a SciPy-stack
compatible version of Python 3.