DeepDefend Package Documentation

Package documentation for DeepDefend, our Python package.

Changelog

  • 0.1.4 (Latest): Added SPSA (Simultaneous Perturbation Stochastic Approximation) attack and JPEG Compression defense. We also fixed flawed logic in some of our defenses functions.

  • 0.1.3: Updated DeepDefend with 5 new functions under defenses, including: Randomized Smoothing, Feature Denoising, Thermometer Encoding, Adversarial Logit Pairing (ALP), and Spatial Smoothing.

Updates to DeepDefend's attack module will be less frequent due to the potential misuse of adversarial attacks on AI models.

  • 0.1.2: Updated PYPI project description.

  • 0.1.1: 6 new functions.

  • 0.1.0: Initial release.

Installation

You can install DeepDefend using PyPi, please make sure that you are using Python 3.6 or later before installing DeepDefend:

pip install deepdefend

Example Usage

Adversarial Attacks

Last updated

Was this helpful?