Skip to content

Commit

Permalink
remove inverse_estimation edits in region_perturbation.py
Browse files Browse the repository at this point in the history
  • Loading branch information
annahedstroem authored Feb 23, 2024
1 parent 0a640fb commit 279fb38
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions quantus/metrics/faithfulness/region_perturbation.py
Original file line number Diff line number Diff line change
Expand Up @@ -152,11 +152,6 @@ def __init__(

# Asserts and warnings.
asserts.assert_attributions_order(order=self.order)
if isinstance(self.inverse_estimation, bool):
assert self.order in [
"morf",
"lerf",
], "Inverse estimation assumes order is either 'morf' and 'lerf'."

if not self.disable_warnings:
warn.warn_parameterisation(
Expand Down

0 comments on commit 279fb38

Please sign in to comment.