pulsatrix 1.1.0
Loading...
Searching...
No Matches
pulsatrix::SensitivityReport Struct Reference

ExplanationSensitivity()'s result. More...

#include <explanation_robustness.hpp>

Public Attributes

double max_sensitivity = 0.0
 The largest and the mean relative change of the explanation over the kept samples; 0 when none were kept.
 
double avg_sensitivity = 0.0
 
double local_lipschitz = 0.0
 The largest change of the explanation per unit change of the input.
 
std::optional< double > adversarial_sensitivity
 The relative change at FGSM's point; empty without a classifier, or when every halving still changed the prediction.
 
double adversarial_epsilon = 0.0
 FGSM's L∞ step at the adversarial point.
 
int64_t samples = 0
 The samples drawn, and those that kept the predicted class.
 
int64_t kept = 0
 
double radius = 0.0
 The L∞ radius the samples were drawn in, in the input's units.
 

Detailed Description

Member Data Documentation

◆ adversarial_epsilon

double pulsatrix::SensitivityReport::adversarial_epsilon = 0.0

FGSM's L∞ step at the adversarial point.

◆ adversarial_sensitivity

std::optional<double> pulsatrix::SensitivityReport::adversarial_sensitivity

The relative change at FGSM's point; empty without a classifier, or when every halving still changed the prediction.

◆ avg_sensitivity

double pulsatrix::SensitivityReport::avg_sensitivity = 0.0

◆ kept

int64_t pulsatrix::SensitivityReport::kept = 0

◆ local_lipschitz

double pulsatrix::SensitivityReport::local_lipschitz = 0.0

The largest change of the explanation per unit change of the input.

◆ max_sensitivity

double pulsatrix::SensitivityReport::max_sensitivity = 0.0

The largest and the mean relative change of the explanation over the kept samples; 0 when none were kept.

◆ radius

double pulsatrix::SensitivityReport::radius = 0.0

The L∞ radius the samples were drawn in, in the input's units.

◆ samples

int64_t pulsatrix::SensitivityReport::samples = 0

The samples drawn, and those that kept the predicted class.


The documentation for this struct was generated from the following file: