vraven.decompiler · class
InterventionResult
InterventionResult(specs: 'tuple[InterventionSpec, ...]', target: 'int', baseline_margin: 'np.ndarray', intervened_margin: 'np.ndarray', effect: 'np.ndarray', mean_effect: 'float', median_effect: 'float', ci_low: 'float', ci_high: 'float', sign_stability: 'float', prediction_flip_rate: 'float', baseline_prediction: 'np.ndarray', intervened_prediction: 'np.ndarray', baseline_logits: 'np.ndarray', intervened_logits: 'np.ndarray', metadata: 'dict[str, Any]' = <factory>) -> NoneInterventionResult(specs: 'tuple[InterventionSpec, ...]', target: 'int', baseline_margin: 'np.ndarray', intervened_margin: 'np.ndarray', effect: 'np.ndarray', mean_effect: 'float', median_effect: 'float', ci_low: 'float', ci_high: 'float', sign_stability: 'float', prediction_flip_rate: 'float', baseline_prediction: 'np.ndarray', intervened_prediction: 'np.ndarray', baseline_logits: 'np.ndarray', intervened_logits: 'np.ndarray', metadata: 'dict[str, Any]' = <factory>)
Usage
from vraven.decompiler import InterventionResult
value = InterventionResult(...)
Methods
summary(self) -> 'dict[str, Any]'
Public method.
Source of truthThis page is generated from the checked-out public symbol, signature, and docstring. Pin the package version for reproducible work.