-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feature_importance for multiinput models with data as a list of arrays #142
base: master
Are you sure you want to change the base?
feature_importance for multiinput models with data as a list of arrays #142
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