STAR Protocols (Jun 2024)

Protocol to explain support vector machine predictions via exact Shapley value computation

  • Andrea Mastropietro,
  • Jürgen Bajorath

Journal volume & issue
Vol. 5, no. 2
p. 103010

Abstract

Read online

Summary: Shapley values from cooperative game theory are adapted for explaining machine learning predictions. For large feature sets used in machine learning, Shapley values are approximated. We present a protocol for two techniques for explaining support vector machine predictions with exact Shapley value computation. We detail the application of these algorithms and provide ready-to-use Python scripts and custom code. The final output of the protocol includes quantitative feature analysis and mapping of important features for visualization.For complete details on the use and execution of this protocol, please refer to Feldmann and Bajorath1 and Mastropietro et al.2 : Publisher’s note: Undertaking any experimental protocol requires adherence to local institutional guidelines for laboratory safety and ethics.

Keywords