Skip to content

Paper: Explaining ML predictions with SHAP - #1104

Merged
fwkoch merged 38 commits into
scipy-conference:2025from
ab93:2025
Oct 14, 2025
Merged

Paper: Explaining ML predictions with SHAP#1104
fwkoch merged 38 commits into
scipy-conference:2025from
ab93:2025

Conversation

@ab93

@ab93 ab93 commented Jun 13, 2025

Copy link
Copy Markdown

If you are creating this PR in order to submit a draft of your paper, please name your PR with Paper: <title>. An editor will then add a draft label; this will trigger GitHub Actions to run automated checks on your paper and build a preview. You may then work to resolve failed checks and ensure the preview build looks correct. If you have any questions, please tag the proceedings team in a comment on your PR with @scipy-conference/2025-proceedings.

See the project readme for more information.

Avik Basu added 22 commits May 28, 2025 22:26
Signed-off-by: Avik Basu <avik_basu@intuit.com>
Signed-off-by: Avik Basu <avik_basu@intuit.com>
Signed-off-by: Avik Basu <avik_basu@intuit.com>
Signed-off-by: Avik Basu <avik_basu@intuit.com>
Signed-off-by: Avik Basu <avik_basu@intuit.com>
Signed-off-by: Avik Basu <avik_basu@intuit.com>
Signed-off-by: Avik Basu <avik_basu@intuit.com>
Signed-off-by: Avik Basu <avik_basu@intuit.com>
Signed-off-by: Avik Basu <avik_basu@intuit.com>
Signed-off-by: Avik Basu <avik_basu@intuit.com>
Signed-off-by: Avik Basu <avik_basu@intuit.com>
Signed-off-by: Avik Basu <avik_basu@intuit.com>
Signed-off-by: Avik Basu <avik_basu@intuit.com>
Signed-off-by: Avik Basu <avik_basu@intuit.com>
Signed-off-by: Avik Basu <avik_basu@intuit.com>
Signed-off-by: Avik Basu <avik_basu@intuit.com>
Signed-off-by: Avik Basu <avik_basu@intuit.com>
Signed-off-by: Avik Basu <avik_basu@intuit.com>
Signed-off-by: Avik Basu <avik_basu@intuit.com>
Signed-off-by: Avik Basu <avik_basu@intuit.com>
Signed-off-by: Avik Basu <avik_basu@intuit.com>
Signed-off-by: Avik Basu <avik_basu@intuit.com>
@github-actions

github-actions Bot commented Jun 13, 2025

Copy link
Copy Markdown

Curvenote Preview

Directory Preview Checks Updated (UTC)
papers/avik_basu 🔍 Inspect 37 checks passed (5 optional) Oct 14, 2025, 6:06 PM

@rowanc1 rowanc1 added paper This indicates that the PR in question is a paper draft This triggers Curvenote Preview actions labels Jun 13, 2025
ab93 added 4 commits June 15, 2025 20:29
Signed-off-by: Avik Basu <ab93@users.noreply.github.com>
Signed-off-by: Avik Basu <ab93@users.noreply.github.com>
Signed-off-by: Avik Basu <ab93@users.noreply.github.com>
Signed-off-by: Avik Basu <ab93@users.noreply.github.com>
@scipy-conference scipy-conference deleted a comment from github-actions Bot Jun 18, 2025
Avik Basu added 2 commits June 25, 2025 12:29
Signed-off-by: Avik Basu <avik_basu@intuit.com>
Signed-off-by: Avik Basu <avik_basu@intuit.com>
@ab93

This comment was marked as resolved.

Signed-off-by: Avik Basu <avik_basu@intuit.com>
@rowanc1

This comment was marked as resolved.

Avik Basu added 3 commits June 26, 2025 22:47
Signed-off-by: Avik Basu <avik_basu@intuit.com>
Signed-off-by: Avik Basu <avik_basu@intuit.com>
Signed-off-by: Avik Basu <avik_basu@intuit.com>
@ameyxd ameyxd self-assigned this Jul 2, 2025
@ameyxd

ameyxd commented Jul 2, 2025

Copy link
Copy Markdown
Contributor

@ameyxd will serve as editor for this paper.

@ameyxd

ameyxd commented Aug 6, 2025

Copy link
Copy Markdown
Contributor

We are swiftly assigning new reviewers to this paper.

@ameyxd

ameyxd commented Aug 20, 2025

Copy link
Copy Markdown
Contributor

Assigned new reviewers, yet to respond - Shubham Sharma, LindseyCster. In process to reassign reviewers.

@ameyxd

ameyxd commented Aug 20, 2025

Copy link
Copy Markdown
Contributor

I will be joining as reviewer @ab93.

@ameyxd ameyxd left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Generally well-written, accessible content with some room for improvement. I suggested some changes here.

Comment thread papers/avik_basu/main.md Outdated
The Bank Marketing dataset [@bank_marketing_222] contains information about direct marketing campaigns (phone calls)
of a Portuguese banking institution. It contains customer demographic information, financial details and interation
history. The goal is to predict whether a customer will subscribe to a term deposit [@Moro2014ADA]. The dataset is
available on the UCI Machine Learning Repository.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Recommend citing the link to the UCIMLR here.

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fixed

Comment thread papers/avik_basu/main.md

### SHAP Explanations

We use the `shap` Python library [@lundberg2020local2global] to compute the SHAP values for the XGBoost model.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I recommend expanding on what this section is for here.

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fixed

Comment thread papers/avik_basu/main.md Outdated
In terms of insights, the beeswarm plot {numref}`fig:beeswarm-xgb` shows some interesting observations. For example,
customers with more balance (`balance` feature) in their account are more likely to subscribe to a term deposit.
On the other hand, customers who have been contacted more frequently in the current compaign (`campaign` feature)
are less likely to subscribe to a term deposit. However, the plot is not able to convey a deeper insight into the

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Provide a reasoning/suggestion why the categorical features are not showcased correctly through SHAP, and the need to look at dependency plots here.

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fixed

Comment thread papers/avik_basu/main.md Outdated
additional feature engineering.

3. While SHAP values quantify the impact of features on model predictions, it is important to understand that they
do not directly indicate causality.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Expand on why causality is not indicated by SHAP values in summary here.

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fixed

@ab93

ab93 commented Aug 21, 2025

Copy link
Copy Markdown
Author

Generally well-written, accessible content with some room for improvement. I suggested some changes here.

@ameyxd thank you for the review! Will revise accordingly!

@ameyxd

ameyxd commented Aug 24, 2025

Copy link
Copy Markdown
Contributor

@ab93 - checking in on this. Please complete the edits ASAP. Failure to do so by EOW might result in this work being rejected from the proceedings.

@ab93

ab93 commented Aug 24, 2025

Copy link
Copy Markdown
Author

@ameyxd will do so by EOD today.

ab93 added 5 commits August 24, 2025 13:03
Signed-off-by: Avik Basu <ab93@users.noreply.github.com>
Signed-off-by: Avik Basu <ab93@users.noreply.github.com>
Signed-off-by: Avik Basu <ab93@users.noreply.github.com>
Signed-off-by: Avik Basu <ab93@users.noreply.github.com>
Signed-off-by: Avik Basu <ab93@users.noreply.github.com>
@ab93

ab93 commented Aug 24, 2025

Copy link
Copy Markdown
Author

@ameyxd let me know if the changes look good or if there are any further changes you need. Will fix them ASAP today.

@ameyxd

ameyxd commented Aug 25, 2025

Copy link
Copy Markdown
Contributor

LGTM. Good job. Approving now. @ab93

@fwkoch fwkoch added approved This triggers Curvenote Submission action and removed draft This triggers Curvenote Preview actions labels Oct 14, 2025
@fwkoch
fwkoch merged commit 5174ea9 into scipy-conference:2025 Oct 14, 2025
16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved This triggers Curvenote Submission action assigned-editor assigned-reviewer paper This indicates that the PR in question is a paper

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants