liveBook · Manning

Monitoring

As explained in Financial AI in Practice

The ongoing observation of systems, signals, and outcomes to identify changes, failures, or control issues.

A credit scorecard may work well at launch yet become less reliable as the applicant population changes. Monitoring compares new data, model behavior, and real-world outcomes with a reference so teams can detect shifts and revisit decisions. It belongs between model signals and application workflows: rules and thresholds turn scores into actions, while feedback helps refine data, models, and operations. section 1.4 section 6.1.4

Choose checks that match the decision being made:

  • For credit scoring, compare a reference population, usually past or training applicants, with a current population from a newer period. Inspect changes in feature and score distributions; use Population Stability Index (PSI) to quantify distribution shifts. section 6.1.4
  • Check outcomes as well as distributions. Scorecard monitoring can compare event rates by score bin and consolidate drift indicators with model-level performance. Domain metrics should reflect the decision: K-S for credit, precision and recall for fraud, or Sharpe ratios for portfolios. section 6.1.4 section 1.4.3
  • For supervised fraud detection, watch for declining predictive power as fraud tactics change, then retrain with fresh legitimate behavior and newly identified fraud. For anomaly detection, monitor alert volume, useful findings from reviewed alerts, and reconstruction-error distributions before recalibrating thresholds. section 8.1.3 section 8.4.6

Inspecting scorecard stability

Fit an OptBinning ScorecardMonitoring object with a fitted scorecard, reference data, and current data. In the illustrated train–test demonstration, psi_method="cart" generates bins using decision-tree splits; deployed comparisons would normally use different time windows. Read psi_table() bin by bin rather than relying only on its total. The demonstrated total PSI is 0.000568, with every bin below 0.10, indicating negligible score-distribution change in that comparison. Follow with tests_table() for event-rate shifts and system_stability_report() for a consolidated view of drift and performance. section 6.1.4

Listing 6.8 Monitoring distribution stability
from optbinning.scorecard import ScorecardMonitoring
from sklearn.model_selection import train_test_split

X_train, X_test, y_train, y_test = train_test_split(
    X, y, test_size=0.3, random_state=42, stratify=y
)

# Re-fit the scorecard on the training subset
scorecard.fit(X_train, y_train)

monitoring = ScorecardMonitoring(
    scorecard=scorecard,
    psi_method="cart",
    psi_n_bins=10,
    verbose=True
)
monitoring.fit(X_test, y_test, X_train, y_train)

The listing shows the reference/current fit and the ScorecardMonitoring settings used before inspecting PSI and other stability outputs. section 6.1.4

Monitoring must lead to governed action, not just a dashboard. Fraud thresholds affect both investigator workload and customer friction; an anomaly threshold should first be tested in shadow mode, where it flags transactions without changing decisions. In live fraud workflows, suspicious account activity may trigger safeguards or analyst review, with actions logged for audit. Evidently can visualize data drift, target drift, and stability metrics in credit pipelines. Investment applications may also need correlation and drawdown alerts, while LLM-based allocation adds a reason to watch for behavioral drift after provider updates. section 8.4.6 section 7.4.5 section 6.0 section 12.8.3

How Financial AI in Practice covers it

How deep it goes
Works through reference-versus-current scorecard checks, PSI outputs, event-rate tests, and stability reports; treats broader fraud and portfolio monitoring operationally.
Examples
Uses a train–test scorecard PSI comparison, fraud alert-threshold checks, and account-takeover response scenarios.
What it assumes
Assumes a fitted scorecard and labeled reference and current datasets for the worked procedure; introduces the broader application layers from raw data.
What you can do after
Apply it via OptBinning ScorecardMonitoring to inspect score-distribution shifts and event-rate tests, then assess whether model performance remains stable.
How it connects
Connects model drift, Population Stability Index, fraud detection, decision thresholds, retraining, and audit controls.

Also explained in

Compare how 40 books explain monitoring →

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Financial AI in Practice. The section links point to the parts of the book it draws on.