pulsatrix
Loading...
Searching...
No Matches
pulsatrix::StabilityResult Struct Reference

The result of measuring an explainer's variance across repeated runs on the same input. More...

#include <explainer_stability.hpp>

Public Attributes

float mean_variance
 Per-element variance across runs, averaged over every element. 0 iff is_deterministic.
 
bool is_deterministic
 True iff every run was bit-for-bit identical – checked by exact equality, not by mean_variance == 0.0f, since floating-point summation order can introduce ~1e-15 noise into a variance computation even over exactly-identical inputs.
 

Detailed Description

The result of measuring an explainer's variance across repeated runs on the same input.

Member Data Documentation

◆ is_deterministic

bool pulsatrix::StabilityResult::is_deterministic

True iff every run was bit-for-bit identical – checked by exact equality, not by mean_variance == 0.0f, since floating-point summation order can introduce ~1e-15 noise into a variance computation even over exactly-identical inputs.

◆ mean_variance

float pulsatrix::StabilityResult::mean_variance

Per-element variance across runs, averaged over every element. 0 iff is_deterministic.


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