Skip to content

Commit

Permalink
Update smooth_mprt.py
Browse files Browse the repository at this point in the history
  • Loading branch information
annahedstroem authored Nov 24, 2023
1 parent 27eeb00 commit 0686e01
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions quantus/metrics/randomisation/smooth_mprt.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,9 @@ class SmoothMPRT(Metric):
"""
Implementation of the Smooth MPRT by Hedström et al., 2023.
The Sampling Model Parameter Randomisation measures the distance between the original attribution and a newly computed
attribution throughout the process of cascadingly/independently randomizing the model parameters of one layer
at a time.
The Smooth Model Parameter Randomisation adds a "denoising" preprocessing step to the original MPRT,
where the explanations are averaged over N noisy samples before the similarity between the original-
and fully random model's explanations is measured.
References:
1) Hedström, Anna, et al. "Sanity Checks Revisited: An Exploration to Repair the Model Parameter
Expand Down

0 comments on commit 0686e01

Please sign in to comment.