Open emrynHofmannElephant opened 5 months ago
Hi @emrynHofmannElephant -- I think the color scale could be improved by using the maximum absolute score of the pairs instead of the existing scores_range. We have a previous issue for this. The underlying problem is that the EBM visualizations use the maximum absolute score for both pairs and mains, but often the pair score range is smaller than for the mains.
Hi, not sure if this is always the case, or just when the interactions don't provide much value, but the colours within the explainability dashboard (and when you export them) are very flat. Perhaps instead of using the
scores_range
here, something else should be used?https://github.com/interpretml/interpret/blob/bf111b59bf8acb9943d8763664b769573434ebdb/python/interpret-core/interpret/visual/plot.py#L654
At the moment I've fixed the issue within a function which exports the individual plots:
Where
key
is an iterator from a loop of indicesBefore the change: After:
(not the best example, due to this pdp being quite flat, but even in the case of a 2x2 plot, it looked flat, but there is a difference between z values)