Skip to main content
Ctrl+K
holisticai  documentation - Home holisticai  documentation - Home
  • Getting Started
  • API Reference
  • Example Gallery
  • Contributor Guide
  • Changelog
  • Twitter
  • GitHub
  • Community
  • Getting Started
  • API Reference
  • Example Gallery
  • Contributor Guide
  • Changelog
  • Twitter
  • GitHub
  • Community
  • holisticai.robustness.metrics

holisticai.robustness.metrics#

Binary Classification

adversarial_accuracy

Calculate the adversarial accuracy of a model with array-like inputs.

empirical_robustness

Calculate the empirical robustness of an adversarial example.

accuracy_degradation_profile

Generates an accuracy degradation profile by iteratively reducing the size of the nearest neighbors considered in the test set and comparing the classifier's accuracy against a baseline.

© Copyright 2024, Holistic AI.

Created using Sphinx 8.1.3.

Built with the PyData Sphinx Theme 0.16.1.