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

explainability: new module #44

Draft
wants to merge 60 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
60 commits
Select commit Hold shift + click to select a range
8e24c7a
explainability: new module
JochenSiegWork Jun 27, 2024
8b39bf7
explainability: changes for numpy2
JochenSiegWork Aug 13, 2024
6573676
explanability: add new visualization
JochenSiegWork Aug 13, 2024
3bd54d1
explainability: linting vis code
JochenSiegWork Aug 13, 2024
36f2517
explainability: fix linting
JochenSiegWork Aug 13, 2024
3fdeee5
explainability: vis linting
JochenSiegWork Aug 14, 2024
bd78f18
explainability: more linting
JochenSiegWork Aug 14, 2024
2f6c521
linting
JochenSiegWork Aug 14, 2024
83df2dc
linting again
JochenSiegWork Aug 14, 2024
787e79f
explaonability: add matplotlib as dependency for visualization
JochenSiegWork Aug 14, 2024
368b9af
explainability: improve speed
JochenSiegWork Aug 14, 2024
59b550f
explainability: speed up unittests
JochenSiegWork Aug 14, 2024
3cbf568
explainability: suppress already checked mypy warning
JochenSiegWork Aug 14, 2024
d69d2b1
mypy
JochenSiegWork Aug 14, 2024
c8ac95f
mypy + rename interface atom_weights
JochenSiegWork Aug 14, 2024
206af69
explainability: add more visualization
JochenSiegWork Aug 29, 2024
76395c4
explainability: refactored shap heatmap visualization
JochenSiegWork Aug 30, 2024
9db8ca0
linting
JochenSiegWork Aug 30, 2024
e1176e4
linting
JochenSiegWork Aug 30, 2024
2e89391
linting
JochenSiegWork Aug 30, 2024
e9e0102
linting
JochenSiegWork Aug 30, 2024
45008c9
linting
JochenSiegWork Aug 30, 2024
4f5c186
linting
JochenSiegWork Aug 30, 2024
d883236
explainability: handle fill values better
JochenSiegWork Oct 9, 2024
01828ce
explainability: linting
JochenSiegWork Oct 9, 2024
de39c3d
explainability: remove enumerate call
JochenSiegWork Oct 9, 2024
ed830a6
explainability vis: use heavy atoms instead of all atoms
JochenSiegWork Nov 15, 2024
04f7794
explainability: test explicit/implicit hydrogens
JochenSiegWork Nov 15, 2024
52b93aa
linters
JochenSiegWork Nov 15, 2024
e753d6f
mypy
JochenSiegWork Nov 15, 2024
ee11e7b
mypy
JochenSiegWork Nov 15, 2024
6c7c637
myppy
JochenSiegWork Nov 15, 2024
0949d2f
mypy
JochenSiegWork Nov 15, 2024
0918a47
explainability: use all atoms instead of heavy atoms
JochenSiegWork Nov 20, 2024
9e2ef4b
explainability: Explanation datastructures using mixins
JochenSiegWork Nov 20, 2024
5231f61
linting
JochenSiegWork Nov 20, 2024
27afdb7
linting
JochenSiegWork Nov 20, 2024
0bd5487
try to add further SHAP explainers
JochenSiegWork Nov 20, 2024
0738241
add shap's KernalExplainer fully
JochenSiegWork Nov 21, 2024
ec97416
linting
JochenSiegWork Nov 21, 2024
0adb1ff
linting
JochenSiegWork Nov 25, 2024
ab06fac
linting
JochenSiegWork Nov 25, 2024
44cfe84
linting
JochenSiegWork Nov 25, 2024
2f7bc43
linting
JochenSiegWork Nov 25, 2024
8a95d29
linting
JochenSiegWork Nov 25, 2024
5565805
linting
JochenSiegWork Nov 25, 2024
29daa6d
linting
JochenSiegWork Nov 25, 2024
fe50d74
linting
JochenSiegWork Nov 25, 2024
994fc3e
linitng
JochenSiegWork Nov 25, 2024
e0c3d3c
linting
JochenSiegWork Nov 25, 2024
633def2
linting
JochenSiegWork Nov 25, 2024
fbb855c
linting
JochenSiegWork Nov 25, 2024
725cdb8
linting
JochenSiegWork Nov 25, 2024
f12432a
linting
JochenSiegWork Nov 25, 2024
5603cf0
linting
JochenSiegWork Nov 25, 2024
1981d6a
add feature_names to explainability code
JochenSiegWork Nov 25, 2024
d6bc7c2
linting
JochenSiegWork Nov 25, 2024
398a5dc
add xai notebook and adaptations
JochenSiegWork Nov 28, 2024
0a9acc4
linting
JochenSiegWork Nov 29, 2024
0c14d58
improve xai notebook
JochenSiegWork Nov 29, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 19 additions & 0 deletions molpipeline/explainability/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
"""Explainability module for the molpipeline package."""

from molpipeline.explainability.explainer import SHAPTreeExplainer
from molpipeline.explainability.explanation import (
SHAPFeatureAndAtomExplanation,
SHAPFeatureExplanation,
)
from molpipeline.explainability.visualization.visualization import (
structure_heatmap,
structure_heatmap_shap,
)

__all__ = [
"SHAPFeatureExplanation",
"SHAPFeatureAndAtomExplanation",
"SHAPTreeExplainer",
"structure_heatmap",
"structure_heatmap_shap",
]
Loading
Loading