Submitted by deepestdescent t3_z4oxq5 in MachineLearning

I like the shap library, but it looks like it isn’t being actively maintained any more. The last merged PR was back in June and the issue tracker is inundated with issues that haven’t received any responses. It’s a bit buggy in places and it generates a ton of warning messages. Does anyone have any alternative recommendations?

92

Comments

You must log in or register to comment.

Hydreigon92 t1_ixs6lui wrote

Maybe InterpretML? It's developed and maintained by Microsoft Research and consolidates a lot of different explainability methods, including SHAP, into a consistent API.

37

deepestdescent OP t1_ixs7uig wrote

Thank you for that. Does it use the shap library under the hood, or does it have its own implementation for computing Shapley values? If it is using the shap, then I wouldn’t really call this an alternative as it is using the same unmaintained backend.

8

DigThatData t1_ixsggx9 wrote

2

WERE_CAT t1_ixslim3 wrote

Lgbm has native shap support.

2

ckatem t1_ixsltuy wrote

I’m guessing since the creator graduated and went to work at Microsoft he can’t maintain it anymore. Follow Patrick Hall for up to date ML interpretability packages and news.

19

deepestdescent OP t1_ixsnb2v wrote

Yep so InterpretML does use the unmaintained shap library unfortunately. Looks like the author of shap works for Microsoft though so maybe he also works on InterpretML? I just don’t understand why shap isn’t being actively maintained since so many projects rely on it.

6

-xylon t1_ixtxq82 wrote

It's in the spirit of open source to contribute to packages you care about. Just saying

7

deepestdescent OP t1_ixtzv44 wrote

I agree, but it’s pretty hard to contribute if issues and PRs never get looked at. I’m considering making a fork of shap. I just wanted to check whether people had moved on to some other library. From the comments, it appears not.

12

deepestdescent OP t1_ixvz5mi wrote

I can’t really help the current shap project if the PR never gets looked at. In fact, most of the issues I want fixed already have open PRs associated with them. I may look into starting my own fork, but I just wanted to see whether the community had moved on to some other library.

3

deepestdescent OP t1_ixwbq8p wrote

After seeing these comments, I decided to start a fork of shap here. I want to ensure this fork avoids becoming the responsibility of a sole maintainer. Please let me know if you would like to help maintain this vital package for the ML community or join the first discussion here.

8