Skip to content

fix(visual): improve contrast of interaction heatmaps (#236) - #705

Open
laasyapriya2007 wants to merge 1 commit into
interpretml:mainfrom
laasyapriya2007:fix-interaction-heatmap-contrast
Open

laasyapriya2007 wants to merge 1 commit into
interpretml:mainfrom
laasyapriya2007:fix-interaction-heatmap-contrast

Conversation

@laasyapriya2007

@laasyapriya2007 laasyapriya2007 commented Nov 7, 2026 •

Copy link
Copy Markdown

Closes #236. Separates score bounds calculation between main effects and interaction pairs in EBM explain_global so interaction heatmaps maintain high contrast rather than being washed out by main effect scales.

@codecov

codecov Bot commented Nov 9, 2026 •

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 93.75000% with 2 lines in your changes missing coverage. Please review.
✅ Project coverage is 67.84%. Comparing base (003136e) to head (c67a84a).

Files with missing lines Patch % Lines
python/interpret-core/interpret/glassbox/_ebm.py 90.47% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #705      +/-   ##
==========================================
+ Coverage   67.80%   67.84%   +0.03%     
==========================================
  Files          77       77              
  Lines       11893    11919      +26     
==========================================
+ Hits         8064     8086      +22     
- Misses       3829     3833       +4     
Flag Coverage Δ
bdist_linux_311_python 67.59% <93.75%> (+0.05%) ⬆️
bdist_linux_312_python ?
bdist_linux_313_python ?
bdist_linux_314_python 67.50% <93.75%> (+0.05%) ⬆️
bdist_linuxarm_311_python 67.59% <93.75%> (+0.03%) ⬆️
bdist_linuxarm_312_python ?
bdist_linuxarm_313_python ?
bdist_linuxarm_314_python 67.54% <93.75%> (+0.07%) ⬆️
bdist_mac_311_python 67.77% <93.75%> (+0.07%) ⬆️
bdist_mac_312_python ?
bdist_mac_313_python ?
bdist_mac_314_python 67.68% <93.75%> (+0.05%) ⬆️
bdist_win_311_python 67.77% <93.75%> (+0.05%) ⬆️
bdist_win_312_python ?
bdist_win_313_python ?
bdist_win_314_python 67.70% <93.75%> (+0.08%) ⬆️
sdist_linux_311_python ?
sdist_linux_312_python ?
sdist_linux_313_python ?
sdist_linux_314_python ?
sdist_linuxarm_311_python ?
sdist_linuxarm_312_python ?
sdist_linuxarm_313_python ?
sdist_linuxarm_314_python ?
sdist_mac_311_python ?
sdist_mac_312_python ?
sdist_mac_313_python ?
sdist_mac_314_python ?
sdist_win_311_python ?
sdist_win_312_python ?
sdist_win_313_python ?
sdist_win_314_python ?

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Signed-off-by: Laasya Priya <laasyapriya1234@gmail.com>
@laasyapriya2007
laasyapriya2007 force-pushed the fix-interaction-heatmap-contrast branch from 97bdddd to c67a84a Compare November 9, 2026 12:53
@laasyapriya2007 laasyapriya2007 changed the title fix(visual): improve contrast of interaction heatmaps fix(visual): improve contrast of interaction heatmaps (#236) Nov 9, 2026

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

Improve contrast of interaction heatmaps

1 participant