Skip to content
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

Support 3d arrays as input data for feature_importance #141

Draft
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

jmaspons
Copy link
Contributor

@jmaspons jmaspons commented Feb 25, 2022

Useful for RNN such as LSTM or GRU. All tests from test_variable_dropout.R pass

It implements permutations for the 2nd and/or 3rd dimensions (eg. for a time series, permute cases and time steps for the same var instead of permuting cases only, or considering the importance of each combination of time step and feature)

I don't know if it's OK to save an example model for testing or if it's ok to run a keras model with dummy data on tests. Tell me what do you prefer

jmaspons added a commit to jmaspons/MLTools that referenced this pull request Mar 10, 2022
TODO:
- variableResponse not implemented for 3d arrays yet. Fix ingredients::partial_dependence
- raster predictions
jmaspons added a commit to jmaspons/MLTools that referenced this pull request Mar 10, 2022
Requires ModelOriented/ingredients#141

TODO:
- variableResponse not implemented for 3d arrays yet. Fix ingredients::partial_dependence
- raster predictions
@jmaspons jmaspons marked this pull request as draft April 7, 2022 07:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant