alibi
alibi copied to clipboard
predictor visibility in AnchorTabular
-
Consider changing the visibility of predictor from public to private, and update the documentation examples. Instead of using the
explainer.predictor, use directly the originalpredictor. -
The predictor is set to
Nonewhen saving: https://github.com/SeldonIO/alibi/blob/af1b3513f000daf4061eb20510ad539e70edeebc/alibi/saving.py#L101-L106 -
Specify that in order to change the predictor,
reset_predictorshould be called.
This extends to all explainers. Will need to check if some other projects (Core, Tempo) are using the predictor attribute directly @cliveseldon .