A multi-component framework for the analysis and design of explainable artificial intelligence