-
Notifications
You must be signed in to change notification settings - Fork 13
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
Ranges of output values of different explainers and visualization of relevances and used colormaps #856
Comments
Is this a result of the unsolved issue #784? |
By default, in |
Leon:
|
For the dashboard, though, and I would say for the notebooks too, the normalization and scale should be consistent. Please, read my (proposal) description for the dashboard (in issue #816) explaining the scaling and colormaps, the description should align with the heatmaps people will look at just under the text. Side-by-side maps beg for comparison and we cannot compare things if the scale for one is [-1 1] and the other not even [0 1] (as it is for the text), let alone run to non-normalized values (for the RISE tabular example) such as hundreds and thousands. Beyond the dashboard, our notebooks are not consistent with the output scales (some actually display the [-1, 1] under the heatmap, others don't (while the scale is really different))! I would like the default colormap (and value ranges) to be -1 = darkest blue, 0 = white, and 1 = darkest red. For RISE- either only red (like the text now) or 0 = darkest blue, 0.5 - white, and 1 = darkest red (and change the text notebooks and in the dashboard) |
In this case, you can use the argument |
I guess scaling the actual values (so the scaler on the side of the image is (0,1) (for RISE) and [-1,1] for the other 2, and We should make sure all relevances are scaled ([-1, 1] for LIME and KernelSHAP and [0,1] for RISE) in all tutorials and in the dashboard. For all modalities (also text). Who has time to implement these small, but in several places changes? |
Why not scale RISE to -1,1 as well? This scaling needs some thought as well, the average value of the heatmap isn't necessarily the neutral (i.e white) value. See also #784 |
The RISE relevances are always positive.
Then why do we display also blue in the color-map for example in the MNIST tutorial and generic tutorial? They don't look scaled properly!
Is the KernelSHAP inside the dashboard calculated properly? Again only positive values, but blue in the dashboard example. In the notebook, it looks correct.
Became more obvious by adding the heatmap colormap explanation to the dashboard Image page (still inside the work in progress PR #855 ):
Also, RISE relevances for the Tabular sunshine prediction regression task are not scaled correctly (we do not have such a tutorial).
The RISE relevances for row 10 are not scaled 0 to 1.
The last relevances are calculated in
dashboard/_models_tabular.py
according to Laura.Probably other errors like these can be spotted in the dashboard....
UPDATE: will not be addressed in this project, but included in the next one (if funded)!
The text was updated successfully, but these errors were encountered: