vraven.decompiler · class
RobustAccuracyReport
RobustAccuracyReport(model_name: 'str', protocol: 'str', epsilon: 'float', n_samples: 'int', n_correct_clean: 'int', n_robust: 'int', clean_accuracy: 'float', robust_accuracy: 'float', attack_success_rate: 'float', per_attack_flips: 'dict[str, int]' = <factory>, conditional_robust_accuracy: 'float | None' = None, prediction_invariance: 'float | None' = None, per_attack_successes: 'dict[str, int]' = <factory>, per_attack_unique_flips: 'dict[str, int]' = <factory>, attack_union_curve: 'list[dict[str, Any]]' = <factory>, selected_indices: 'list[int]' = <factory>, per_class: 'dict[str, dict[str, Any]]' = <factory>, macro_robust_accuracy: 'float | None' = None, per_sample_outcomes: 'list[dict[str, Any]]' = <factory>, sampling_protocol: 'str' = 'head', limitations: 'list[str]' = <factory>, metadata: 'dict[str, Any]' = <factory>) -> NoneFinite-sample clean / robust accuracy under a fixed threat model.
Usage
from vraven.decompiler import RobustAccuracyReport
value = RobustAccuracyReport(...)
Methods
to_dict(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.