mirror of
https://github.com/harvard-edge/cs249r_book.git
synced 2026-05-06 17:49:07 -05:00
[PR #1229] [CLOSED] Fix incorrect P(deny) value in SHAP example #8049
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/harvard-edge/cs249r_book/pull/1229
Author: @GronuJ
Created: 3/11/2026
Status: ❌ Closed
Base:
dev← Head:iss1228-fix-shap-pdeny-value📝 Commits (1)
b689c3bFix incorrect P(deny) value in SHAP example (issue #1228)📊 Changes
1 file changed (+2 additions, -2 deletions)
View changed files
📝
book/quarto/contents/vol2/responsible_ai/responsible_ai.qmd(+2 -2)📄 Description
Fixes #1228
The SHAP example in Chapter 17.5 (Responsible AI) computes:
P(approve) = 0.50 - 0.05 - 0.25 - 0.12 = 0.08
Therefore P(deny) = 1 - 0.08 = 0.92, not 0.72 as previously stated. This PR corrects both occurrences of the incorrect value.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.