Skip to content

User Guide

This guide covers how to use shap-monitor effectively in your ML pipelines.

Contents

Overview

shap-monitor provides two main components:

SHAPMonitor

Logs SHAP explanations in production with:

  • Configurable sampling rate
  • Automatic SHAP value computation
  • Efficient Parquet storage
  • Model version tracking

SHAPAnalyzer

Analyzes logged explanations with:

  • Summary statistics over time periods
  • Time period comparisons
  • Feature importance rankings
  • Change detection