_model_utils
Module Contents
Functions
|
For LIME: we divided the input data by 256 for the model (binary mnist) and LIME needs RGB values. |
|
For KernelSHAP: fill each pixel with SHAP values. |
|
|
|
- _model_utils.preprocess_function(image)[source]
For LIME: we divided the input data by 256 for the model (binary mnist) and LIME needs RGB values.