holisticai.robustness.metrics#
Binary Classification
Calculate the adversarial accuracy of a model with array-like inputs. |
|
Calculate the empirical robustness of an adversarial example. |
|
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. |