Skip to content

Commit

Permalink
Updated error message in RegressorUncertaintyDrift class (#395)
Browse files Browse the repository at this point in the history
  • Loading branch information
tmisirpash authored Nov 29, 2021
1 parent f2cca5b commit 573ef3b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion alibi_detect/cd/model_uncertainty.py
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ def __init__(

if backend == 'tensorflow' and not has_tensorflow or backend == 'pytorch' and not has_pytorch:
raise ImportError(f'{backend} not installed. Cannot initialize and run the '
f'ClassifierUncertaintyDrift detector with {backend} backend.')
f'RegressorUncertaintyDrift detector with {backend} backend.')

if backend is None:
model_fn = model
Expand Down

0 comments on commit 573ef3b

Please sign in to comment.