Tommy, opened a PR so you can use the code.
The arrays are saved in the same way shap values are saved - this way, the utility functions we developed for shap values can also easily be used for Morris gradients.
A todo (~hopefully it can be included in this PR~ Done!) is to pass a TrainData object to the shap explainer too, and consolidate it into a single explain function, where the method (shap or morris) can be selected.
Tommy, opened a PR so you can use the code. The arrays are saved in the same way shap values are saved - this way, the utility functions we developed for shap values can also easily be used for Morris gradients.
A todo (~hopefully it can be included in this PR~ Done!) is to pass a TrainData object to the shap explainer too, and consolidate it into a single
explain
function, where the method (shap or morris) can be selected.