Skip to content

Commit

Permalink
REF flake8 linting error fix
Browse files Browse the repository at this point in the history
  • Loading branch information
joaopfonseca committed Nov 12, 2024
1 parent f032f9b commit d9a9573
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions sharp/metrics/_sensitivity.py
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,6 @@ def explanation_sensitivity(
def explanation_sensitivity_all_neighbors(
original_data, contributions, rankings, measure="kendall", threshold=0.1, **kwargs
):
result = lambda row_idx: row_wise_explanation_sensitivity_all_neighbors(
return lambda row_idx: row_wise_explanation_sensitivity_all_neighbors(
original_data, contributions, row_idx, rankings, threshold, measure, **kwargs
)
return result

0 comments on commit d9a9573

Please sign in to comment.