-
Book Overview & Buying
-
Table Of Contents
Deep Learning with C++
By :
This chapter presented explainability as an engineering requirement rather than an optional extra. You learned why different stakeholders—clinicians, auditors, risk teams, and end-users—need different forms of explanations, and how explainability connects directly to trust, safety, and regulation. The chapter also distinguished between local explanations, which clarify a single prediction, and global understanding, which reveals the broader patterns a model relies on. Along the way, it emphasized that uncertainty, including both aleatoric and epistemic uncertainty, should be communicated alongside any explanation.
On the technical side, you examined what LIME and SHAP estimate, how their assumptions differ, and how they can be implemented efficiently in C++. That included perturbation design, neighborhood weighting, sparse surrogate fitting, and practical KernelSHAP approximations with performance guardrails. For convolutional neural networks, you also saw...