2

Building Our Adversarial Playground

In Chapter 1, we introduced core concepts of artificial intelligence (AI) and machine learning (ML) to help lay the foundations for working with adversarial AI. In this chapter, we will provide a hands-on walkthrough of ML development, demonstrating how to create and manage your development environment, utilize the algorithms, and navigate the life cycle we described. We will build models and deploy a neural network (NN) model as a REST prediction service. This will be our adversarial playground, the target of our adversarial AI attacks.

By the end of the chapter, you will have learned how to do the following:

  • Install Python and create a Python virtual environment to manage your dependencies and work.

Get Adversarial AI Attacks, Mitigations, and Defense Strategies 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.