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

Version 0.3.0 #13

Merged
merged 20 commits into from
Dec 21, 2023
Merged

Version 0.3.0 #13

merged 20 commits into from
Dec 21, 2023

Conversation

nkoenen
Copy link
Collaborator

@nkoenen nkoenen commented Dec 18, 2023

  • New methods: DeepSHAP, IntegratedGradients, ExpectedGradients and the model-agnostic approaches LIME and SHAP
  • We have added functions for the initialization of R6 classes, e.g. convert() instead of Converter$new() or run_grad() instead of Gradient$new()
  • By default, the plot() method now creates a small box within the plot with the prediction for the instance and the corresponding class. This info box also contains the sum of the relevances and, if available, the decomposition target of the method. Displaying the box can be toggled with the show_preds argument.
  • In addition to the output index with output_idx, the new argument output_label for the output label can now also be specified in order to calculate or visualize only certain output nodes.
  • The boxplot() function for the interpretation methods has been renamed plot_global() due to the inappropriate name (especially for images). The old method boxplot() can still be used, but throws a warning for image
    data and executes the method plot_global() internally.

- Implementation of the method Integrated Gradients using the R6 class `IntegratedGradient`
- Add documentation for the new class
- Add tests for the new class
* Implementing the method DeepSHAP as the R6 class `DeepSHAp`
* Add documentation for this new class
* Add tests for this new class
* SHAP: Wraps the R package `fastshap`
* LIME: Wraps the R package `lime`
* Add test and documentation for both methods
* Add argument `output_label`: In addition to the output index with `output_idx`, the new argument `output_label` for the  output label can now also be specified in order to calculate only certain output nodes
* Small fix for the method `ExpectedGradient`
* Update R documentation
…ethod and show them in the plots generated by plot()
@nkoenen nkoenen merged commit 6dea468 into master Dec 21, 2023
8 checks passed
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.

1 participant