Skip to content

Commit

Permalink
add error type
Browse files Browse the repository at this point in the history
  • Loading branch information
arnaudvl committed May 4, 2022
1 parent 91a5bf7 commit 143a5a9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions alibi/explainers/cfproto.py
Original file line number Diff line number Diff line change
Expand Up @@ -756,13 +756,13 @@ def fit(self,

# multidim scaled distances
d_abs_abdm, _ = multidim_scaling(d_abdm, n_components=2, use_metric=True,
feature_range=self.feature_range, # type: ignore
feature_range=self.feature_range, # type: ignore[arg-type]
standardize_cat_vars=standardize_cat_vars,
smooth=smooth, center=center,
update_feature_range=False)

d_abs_mvdm, _ = multidim_scaling(d_mvdm, n_components=2, use_metric=True,
feature_range=self.feature_range, # type: ignore
feature_range=self.feature_range, # type: ignore[arg-type]
standardize_cat_vars=standardize_cat_vars,
smooth=smooth, center=center,
update_feature_range=False)
Expand Down

0 comments on commit 143a5a9

Please sign in to comment.