NorskRegnesentral / shapr

Explaining the output of machine learning models with more accurately estimated Shapley values
https://norskregnesentral.github.io/shapr/
Other
141 stars 33 forks source link

Add python version #325

Closed martinju closed 1 year ago

martinju commented 1 year ago

Release the Python wrapper (shaprpyr) for explaining predictions from Python models (from Python) utilizing almost all functionality of shapr.

The wrapper moves back and forth back and forth between Python and R, doing the prediction in Python, and almost everything else in R. This simplifies maintenance of shaprpy significantly.

The wrapper is available under the folder named python, complete with installation instructions and example scripts.