ModelOriented / DALEX

moDel Agnostic Language for Exploration and eXplanation
https://dalex.drwhy.ai
GNU General Public License v3.0
1.38k stars 166 forks source link

Guidance on RNN #148

Closed asheetal closed 4 years ago

asheetal commented 4 years ago

Wondering if anyone has any guidance on trying on white-box explanations of RNN built on top of time-series data. There is a beautiful tutorial by @fchollet https://blogs.rstudio.com/tensorflow/posts/2017-12-20-time-series-forecasting-with-recurrent-neural-networks/

I want to take one step further and try to explain the keras RNN model. Any suggestions?

pbiecek commented 4 years ago

DALEXtra package has function that facilitate working with keras, see https://modeloriented.github.io/DALEXtra/reference/explain_keras.html

@maksymiuks do we have other examples for keras models?

maksymiuks commented 4 years ago

@asheetal Here is a vignette that explains how to export the Python model (including keras nn) into R and explain them using DALEX. https://raw.githack.com/pbiecek/DALEX_docs/master/vignettes/How-to-use-DALEXtra-to-explain-and-visualize-scikitlearn-models.html

pbiecek commented 4 years ago

fixed in https://github.com/ModelOriented/DALEX/commit/6f24df0be652fb3281305d97e211520771ab0387