Appendix AAnaconda and Jupyter Notebook Setup

In this appendix, you learn to install Anaconda Navigator on your computer, set up a Python environment that includes several common machine learning libraries, and configure Jupyter Notebook.

Installing the Anaconda Distribution

Anaconda is a Python distribution (prebuilt and preconfigured collection of packages) that is commonly used for data science. The Anaconda distribution includes the Conda package manager in addition to the preconfigured Python packages and other tools. The Conda package manager can be used from the command line to set up Python environments and install additional packages that come with the default Anaconda distribution.

Anaconda Navigator is a GUI tool that is included in the Anaconda distribution and makes it easy to configure, install, and launch tools such as Jupyter Notebook. Although we use the Anaconda Navigator in this book, keep in mind that you can do everything through the command line using the conda command.

To begin the Anaconda Navigator installation process, visit https://www.anaconda.com and click the Downloads link at the top-right corner of the page (see Figure A.1).

On the Downloads page, locate the download link for a version that includes Python 3.7 or higher (see Figure A.2). Click the Download link to download the installer for your operating system.

Get Machine Learning for iOS Developers now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.