monitoring-prediction-drift

Community

Catch prediction drift before it hurts

Authorrocklambros
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill helps you monitor deployed machine learning models for prediction-side drift when features look stable but outputs, calibration, or segment performance start to degrade. It prevents the common mistake of evaluating recent predictions before their labels are mature.

Core Features & Use Cases

  • Labeling-delay-aware evaluation: Builds reference and current windows that only include predictions with mature labels.
  • Calibration diagnostics: Uses reliability curves, calibration slope and intercept, and Brier score to detect miscalibration.
  • Per-segment monitoring: Tracks AUC, precision, recall, and F1 by cohort with bootstrap confidence intervals to catch Simpson's-paradox failures.
  • Decision guidance: Distinguishes calibration drift, score shift, cohort-mix change, and concept drift so you recalibrate before retraining when possible.
  • Use case: A loan-default model shows stable feature PSI but lower predicted scores than realized defaults, so the Skill recommends a mature-label window, calibration analysis, and post-hoc recalibration instead of a blind retrain.

Quick Start

Ask this Skill to compare your deployed model's reference and current prediction windows using mature labels, calibration diagnostics, and per-segment metrics.

Dependency Matrix

Required Modules

None required

Components

references

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: monitoring-prediction-drift
Download link: https://github.com/rocklambros/rcs/archive/main.zip#monitoring-prediction-drift

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 537,000+ vetted skills library on demand.