Commit 8eceb3a
authored
Basic gradient saliency visualization (#594)
* Adding a basic gradient saliency method that functions on the pyhealth dataloader and models
* Updating function name for consistency and adding to the _init_.py
* Created using Colab
* Example of using gradient saliency
Applying and visualizing gradient saliency on a basic pyhealth model claissifying image data
* Delete Colab ChestXrayClassificationWithSaliency.ipynb
* Adding a basic gradient saliency method that functions on the pyhealth dataloader and models
(cherry picked from commit 858c4f7)
* Updating function name for consistency and adding to the _init_.py
(cherry picked from commit 3bd6860)
* Moving the saliency module to the "interpret\methods" folder
* Created using Colab
* Small bug fix and adjusting the ipynb example
* Add files via upload
* Created using Colab
* Locally run notebook example to remove collab dependency
* Add files via upload
* Add files via upload
Trying to find a version of this that github can render without errors
* Add files via upload
Still trying to get something that displays correctly in github
* Delete examples/ChestXrayClassificationWithSaliencyMapping.ipynb
* Delete ChestXrayClassificationWithSaliencyMapping.ipynb
* Update repository references in notebook
Remove temporary branch references from python notebook example import
* Adding saliency class and adjusting code to use the class
* Adding saliency class and adjusting code to use the class
* Refactoring methods in saliency.py
* Some refactoring and adding better batch handling
* Adding some documentation
* Basic Gradient imagery: removing dataload options
* Adding base_interpreter inheritance and testing
* Removing redundant code and the lazy initialization
* Making the input_batch optional and adding support to update it with attribute
* Adding a few unit tests
* Adding some documentation
* Documentation updates1 parent 4fdeb08 commit 8eceb3a
File tree
6 files changed
+2089
-2
lines changed- docs/api
- interpret
- examples
- pyhealth/interpret/methods
- tests/core
6 files changed
+2089
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
14 | 22 | | |
15 | 23 | | |
16 | 24 | | |
| |||
39 | 47 | | |
40 | 48 | | |
41 | 49 | | |
42 | | - | |
| 50 | + | |
43 | 51 | | |
| 52 | + | |
44 | 53 | | |
45 | 54 | | |
46 | 55 | | |
Lines changed: 21 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
0 commit comments