EconPapers    
Economics at your fingertips  
 

Explaining Machine Learning by Bootstrapping Partial Dependence Functions and Shapley Values

Thomas Cook, Greg Gupton, Zach Modig and Nathan Palmer

No RWP 21-12, Research Working Paper from Federal Reserve Bank of Kansas City

Abstract: Machine learning and artificial intelligence methods are often referred to as “black boxes” when compared with traditional regression-based approaches. However, both traditional and machine learning methods are concerned with modeling the joint distribution between endogenous (target) and exogenous (input) variables. Where linear models describe the fitted relationship between the target and input variables via the slope of that relationship (coefficient estimates), the same fitted relationship can be described rigorously for any machine learning model by first-differencing the partial dependence functions. Bootstrapping these first-differenced functionals provides standard errors and confidence intervals for the estimated relationships. We show that this approach replicates the point estimates of OLS coefficients and demonstrate how this generalizes to marginal relationships in machine learning and artificial intelligence models. We further discuss the relationship of partial dependence functions to Shapley value decompositions and explore how they can be used to further explain model outputs.

Keywords: Machine learning; Artificial intelligence; Explainable machine learning; Shapley values; Model interpretation (search for similar items in EconPapers)
JEL-codes: C14 C15 C18 (search for similar items in EconPapers)
Pages: 65
Date: 2021-11-15
New Economics Papers: this item is included in nep-big, nep-cmp, nep-ecm, nep-gth and nep-ore
References: View references in EconPapers View complete reference list from CitEc
Citations: View citations in EconPapers (2)

Downloads: (external link)
https://www.kansascityfed.org/documents/8518/rwp21-12cookguptonmodigpalmer.pdf Full text (application/pdf)
Our link check indicates that this URL is bad, the error code is: 404 Not Found

Related works:
This item may be available elsewhere in EconPapers: Search for items with the same title.

Export reference: BibTeX RIS (EndNote, ProCite, RefMan) HTML/Text

Persistent link: https://EconPapers.repec.org/RePEc:fip:fedkrw:93596

Ordering information: This working paper can be ordered from

DOI: 10.18651/RWP2021-12

Access Statistics for this paper

More papers in Research Working Paper from Federal Reserve Bank of Kansas City Contact information at EDIRC.
Bibliographic data for series maintained by Zach Kastens ().

 
Page updated 2025-03-30
Handle: RePEc:fip:fedkrw:93596