1 Setting Up the Environment

Let’s start by setting up the programming environment we’ll use throughout the rest of the book. Python is flexible enough to run across a number of platforms, so I can’t cover all possible installation and configuration options. That said, because some of the problems we’ll be analyzing can be computationally expensive, I’ll assume you’re using a laptop or desktop to do your experimentation, and not a tablet or phone. A multicore CPU will help speed up some of the processing. While it’s not necessary (and I won’t be using them), some libraries can also leverage modern GPUs, so I encourage you to experiment with ...

Get Math for Security 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.