scikit-learn-contrib / hiclass

A python library for hierarchical classification compatible with scikit-learn
BSD 3-Clause "New" or "Revised" License
113 stars 20 forks source link

Explainer api for local classifiers #102

Closed ashishpatel16 closed 5 months ago

ashishpatel16 commented 7 months ago

This PR aims to introduce explainer class which uses shap to compute shapley values for each classifier present at a specific position in the hierarchy.

Paula-Kli commented 7 months ago

We are not completely sure, because you wanted the explainer to be installable via a pip flag which we might have missed but as we installed it, the Explainer was not immediately available. Instead, you might need to add it to the __init__.py in the hiclass folder - is that possible?