Adversarial Machine Learning

Adversarial Training you own this product

This project is part of the liveProject series Adversarial Machine Learning
prerequisites
intermediate Python knowledge (NumPy, array merging) · intermediate Matplotlib · intermediate scikit-learn • intermediate Keras/TensorFlow
skills learned
basics of adversarial training · iterative retraining with Keras • CleverHans attack generator
Ferhat Özgur Catak
1 week · 4-6 hours per week · INTERMEDIATE

pro $24.99 per month

  • access to all Manning books, MEAPs, liveVideos, liveProjects, and audiobooks!
  • choose one free eBook per month to keep
  • exclusive 50% discount on all purchases

lite $19.99 per month

  • access to all Manning books, including MEAPs!

team

5, 10 or 20 seats+ for your team - learn more


Look inside

Protect your model by implementing adversarial training, the easiest method of safeguarding against adversarial attacks. You’ll load your dataset, learn its structure, and examine a few random samples using OpenCV or Matplotlib. Using Numpy, you’ll prepare your dataset for training, then you’ll use FGSM to generate malicious input for both untargeted and targeted attacks on a trained DL model. For each type of attack, you’ll evaluate your model before and after you apply adversarial training-based mitigation methods, gauging the success of your defense.

This project is designed for learning purposes and is not a complete, production-ready application or solution.

book resources

When you start your liveProject, you get full access to the following books for 90 days.

project author

Ferhat Özgur Catak

Ferhat Ozgur Catak is an associate professor of computer science at the University of Stavanger, Norway. He has experience developing machine/deep learning models for cybersecurity, security for deep learning models, and data privacy using statistical and cryptographic methods. He has also been involved in several national, international, and NATO-wide security and research activities.

prerequisites

This liveProject is for intermediate Python programmers who know the basics of data science. To begin this liveProject, you’ll need to be familiar with the following:

TOOLS
  • Intermediate Python
  • Jupyter Notebook
TECHNIQUES
  • Model classification
  • Evaluate model performance
  • Basic plotting using Matplotlib
  • Computer vision basics (reading and displaying images, and converting and resizing them into feature vectors)

you will learn

In this liveProject, you’ll learn to implement adversarial training to protect DL models from untargeted and targeted attacks.

  • Load CNN-based image classifier model using Keras
  • Visualize images and parts of your model using cv2
  • Visualize images and parts of your neural network using Matplotlib
  • Perform mathematical operations on images using NumPy

features

Self-paced
You choose the schedule and decide how much time to invest as you build your project.
Project roadmap
Each project is divided into several achievable steps.
Get Help
While within the liveProject platform, get help from other participants and our expert mentors.
Compare with others
For each step, compare your deliverable to the solutions by the author and other participants.
book resources
Get full access to select books for 90 days. Permanent access to excerpts from Manning products are also included, as well as references to other resources.

choose your plan

team

monthly
annual
$49.99
$499.99
only $41.67 per month
  • five seats for your team
  • access to all Manning books, MEAPs, liveVideos, liveProjects, and audiobooks!
  • choose another free product every time you renew
  • choose twelve free products per year
  • exclusive 50% discount on all purchases
  • Adversarial Training project for free