ladderlore
ガイドをリクエスト
  • S3 や IAM などのサービス名を入力してください。

サービス · Machine Learning · AIF-C01 の発展

Amazon SageMaker Model Monitor

Capture endpoint traffic, compare it with a baseline on a schedule, and alarm on violations.

このレッスンはまだ翻訳されていないため、英語で表示しています。

AI Practitionerで学んだこと

  • Model Monitor watches a deployed model for drift in data, model quality and bias.
  • It sits next to Pipelines and Model Registry among the SageMaker AI MLOps tools.
  • It has been closed to new customers since July 30, 2026.
AI Practitionerのレッスンを読む
Endpoint
Captured data
Model Monitor
Baseline
Violations report
Alarm
Retrain
sampledmetrics
Traffic is captured, checked on a schedule against the baseline, and a violation can start retraining.

Traffic is captured, checked on a schedule against the baseline, and a violation can start retraining.

  • Data quality

    Compares
    Input feature statistics against the baseline
    Needs
    Captured inputs
  • Model quality

    Compares
    Accuracy, precision, recall and similar metrics
    Needs
    Predictions plus ground truth labels
  • Bias drift

    Compares
    Bias metrics over time
    Needs
    Captured data and a Clarify baseline
  • Feature attribution drift

    Compares
    Ranking of feature importance
    Needs
    Captured inputs and a Clarify baseline
Four monitor types: pick by what you want to compare.

1 / 2

  • Data quality

    Compares
    Input feature statistics against the baseline
    Needs
    Captured inputs
  • Model quality

    Compares
    Accuracy, precision, recall and similar metrics
    Needs
    Predictions plus ground truth labels

2 / 2

  • Bias drift

    Compares
    Bias metrics over time
    Needs
    Captured data and a Clarify baseline
  • Feature attribution drift

    Compares
    Ranking of feature importance
    Needs
    Captured inputs and a Clarify baseline
Four monitor types: pick by what you want to compare.

概要

Model Monitor needs four parts. Data capture is switched on in the endpoint configuration, with a sampling percentage and an S3 location, and SageMaker AI saves each request and response there. A baseline job on the training data writes statistics.json and constraints.json, which describe normal. A monitoring schedule runs the checks. Then you read the results.

概要

A schedule starts a SageMaker Processing job at each interval, from every hour up to every 24 hours. It compares the captured data with the baseline and writes constraint_violations.json to S3, plus statistics.json for data quality. A run ends as Completed, CompletedWithViolations or Failed. With CloudWatch metrics enabled, each feature gets metrics, so an alarm can notify an SNS topic or invoke Lambda, and an EventBridge rule can start a SageMaker Pipelines run that retrains the model.

概要

Limits: tabular data only, single-model endpoints only (not multi-model), and capture stops when disk use is high, so keep it under 75 percent. When no built-in monitor fits, bring your own container, add a post-processing script, or run your own check in a scheduled Processing job. Status: Model Monitor and SageMaker Clarify have been closed to new customers since July 30, 2026. Existing customers can keep using both. Bias drift and feature attribution drift monitors use Clarify. New projects build the same checks themselves, as the next lesson shows.

覚えること

  • Capture: sampling percentage and S3 destination, set on the endpoint configuration.
  • Baseline files: statistics.json and constraints.json. Results: constraint_violations.json.
  • Tabular data and single-model endpoints only.

試験では

  • “Detect live inputs drifting from the training data” points to Model Monitor data quality.
  • “Accuracy falls and labels arrive later” points to model quality monitoring, which merges ground truth with captured predictions.
  • “Start retraining when drift is found” points to a CloudWatch alarm or EventBridge rule that starts a Pipelines run.
  • “Monitor a multi-model endpoint” points to a custom check.