feature_importance for multiinput models with data as a list of arrays#142
feature_importance for multiinput models with data as a list of arrays#142jmaspons wants to merge 8 commits intoModelOriented:masterfrom
Conversation
…ets. Datasets can be 2d or 3d arrays
|
Hi @jmaspons, thanks for this contribution. I will try to review it next week.
|
|
Hello, You can find a test script with dummy data at https://gist.github.com/jmaspons/0199ef922571bafe5eaac1a056963a83 (it requires keras, abind, DALEX and data.table packages). The patch implements feature_importance for models with more than one input datasets as 2D and 3D arrays. It can be useful for time series data (3D to a RNN) with some static variables (2D). DALEX::explainer doesn't support this kind of data input, so no changes to feature_importance.explainer #141 implements feature_importance for a single input model. I should add some changes to that PR for the variable_groups and the autogenerated variables following this patch which I tested much more cases. The feature_importance.default and feature_importance.multiinput In order to add tests, do you think it's acceptable to add all the dependencies or skip some by saving some data in the package? |
|
For starters, we should use underscore notation for function parameters instead of camelCase, e.g.
All such dependencies should be added to |
Static variables can be also categorical Requires ModelOriented/ingredients#142
No need in an internal function
Implements support for 3D arrays in a list of inputs and ... to predict function Waiting for ModelOriented/ingredients#142 and ModelOriented/ingredients#143
Implements support for 3D arrays in a list of inputs and ... to predict function Waiting for ModelOriented/ingredients#142 and ModelOriented/ingredients#143
|
let's not have |
I'll find alternatives implementations for the |
|
we are trying to have |
Datasets can be 2d or 3d arrays