interpretable-ml / iml

Interpretable ML package designed to explain any machine learning model.
60 stars 7 forks source link

To allow shap to work with models that consume time series data and u… #3

Closed xzzxxzzx closed 6 years ago

xzzxxzzx commented 6 years ago

…se pandas dataframe as input and output, I'm proposing some changes in shap. Because shap convert dataframe into ndarray and only work with ndarrays, Here I propose to add data structures that can keep track of the index (of type datetime and is important information for model), so the dataframe could be reconstructed when shap calls model.f