ladderlore
လမ်းညွှန် တောင်းဆိုရန်
  • S3 သို့မဟုတ် IAM လို service အမည်ကို ရိုက်ထည့်ပါ။

သဘောတရား · AIF-C01 အပေါ် ဆက်လေ့လာရန်

Performance baselines and drift detection

Compare live data and predictions with a baseline made from training data, and raise an alert on violations.

ဒီသင်ခန်းစာကို မြန်မာဘာသာ မပြန်ရသေးလို့ အင်္ဂလိပ်လို ပြထားပါတယ်။

AI Practitioner မှ သင်သိပြီးသားများ

  • Drift means live data or results move away from what the model learned on.
  • Model Monitor watches a deployed model for drift in data, model quality and bias.
AI Practitioner သင်ခန်းစာကို ဖတ်ရန်
Training data
Baseline job
Statistics and constraints
Endpoint
Data capture in S3
Monitoring job
Violations and alarms
  1. 1Run a baseline job on the training data.
  2. 2It writes statistics and constraints.
  3. 3The endpoint captures requests and predictions.
  4. 4A schedule sends the captured data to the monitoring job.
  5. 5The job loads the baseline.
  6. 6Violations and CloudWatch metrics raise the alarm.
A baseline made from training data is the yardstick for captured live data.

အဆင့်ဆင့်

  1. 1Run a baseline job on the training data.
  2. 2It writes statistics and constraints.
  3. 3The endpoint captures requests and predictions.
  4. 4A schedule sends the captured data to the monitoring job.
  5. 5The job loads the baseline.
  6. 6Violations and CloudWatch metrics raise the alarm.
  • Data quality

    It compares
    Live inputs with baseline
    It needs
    Data capture
  • Model quality

    It compares
    Predictions with true labels
    It needs
    Ground truth in S3
  • Bias drift

    It compares
    Bias metrics with a range
    It needs
    A bias baseline
  • Feature attribution drift

    It compares
    Importance ranking with training
    It needs
    A SHAP baseline
Four monitors, each with its own yardstick.

1 / 2

  • Data quality

    It compares
    Live inputs with baseline
    It needs
    Data capture
  • Model quality

    It compares
    Predictions with true labels
    It needs
    Ground truth in S3
  • Bias drift

    It compares
    Bias metrics with a range
    It needs
    A bias baseline

2 / 2

  • Feature attribution drift

    It compares
    Importance ranking with training
    It needs
    A SHAP baseline
Four monitors, each with its own yardstick.

ဘာလဲ

A baseline job runs on the training dataset and writes statistics (per feature: type, spread, share of nulls) and suggested constraints (the limits live data should stay inside). Data quality uses the open source Deequ library on Spark. You can edit the constraints before use.

ဘာလဲ

To monitor, turn on data capture on the endpoint (or batch transform job), which saves requests and predictions to S3. A schedule runs a job on the captured data at set intervals. Each run compares it with the baseline, writes a violations file and sends metrics to CloudWatch, so an alarm can start a retraining pipeline. Checks cover data type, completeness (too many nulls), baseline drift (distribution distance over a threshold), missing or extra columns and unknown categories.

ဘာလဲ

There are four monitors. Data quality needs only the captured inputs. Model quality needs ground truth: you label a sample of past predictions later, store the labels as JSON Lines in S3, and the monitor merges them with captured predictions by inference ID (set by the caller) or the endpoint-generated event ID, so it reports later than data drift. Bias drift keeps bias metrics inside an allowed range. Feature attribution drift compares the ranking of feature importance with training and alerts when its NDCG score drops below 0.90.

ဘာလဲ

Limits: tabular data only, single-model endpoints only (not multi-model). Status: Model Monitor has been closed to new customers since July 30, 2026. Existing customers can keep using it. For new work AWS points to its open source SageMaker AI monitoring solutions with QuickSight dashboards and CloudWatch. The exam can still name Model Monitor.

မှတ်ထားရန်

  • Monitors: data quality, model quality, bias drift, feature attribution drift.
  • Model quality needs ground truth merged by inference ID, so it arrives late.
  • Output: a violations file and CloudWatch metrics for alarms.

စာမေးပွဲမှာ

  • “Compare live input data with training data and alert on change” points to a data quality monitor.
  • “Accuracy has fallen but the inputs look normal” points to a model quality monitor with ground truth labels.
  • “The ranking of important features changed in production” points to feature attribution drift.