ladderlore
  • S3 သို့မဟုတ် IAM လို service အမည်ကို ရိုက်ထည့်ပါ။

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

Triggering retraining

Start retraining on a schedule, new data or drift, then compare, approve and avoid loops.

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

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

  • MLOps automates training and deployment so models can be refreshed.
  • Models drift as data changes, which is a reason to retrain.
AI Practitioner သင်ခန်းစာကို ဖတ်ရန်
Schedule, new data or alarm
EventBridge rule
SageMaker Pipelines
Challenger vs champion
Approval gate
Model Registry
  1. 1A schedule, new data or an alarm fires.
  2. 2An EventBridge rule starts the pipeline.
  3. 3The pipeline trains a challenger model.
  4. 4The challenger is compared with the champion, and an approval gate decides.
  5. 5An approved model is registered and deployed.
A retraining run from trigger to registered model.

အဆင့်ဆင့်

  1. 1A schedule, new data or an alarm fires.
  2. 2An EventBridge rule starts the pipeline.
  3. 3The pipeline trains a challenger model.
  4. 4The challenger is compared with the champion, and an approval gate decides.
  5. 5An approved model is registered and deployed.
  • Schedule

    Comes from
    EventBridge schedule
    Watch for
    May retrain on unchanged data
  • New data

    Comes from
    S3 event through EventBridge
    Watch for
    Batch small arrivals
  • Drift or quality alarm

    Comes from
    Monitor, CloudWatch alarm
    Watch for
    Labels can arrive late
Three triggers and what to watch for in each.

ဘာလဲ

Three triggers start retraining. A schedule (EventBridge) is simple and predictable but may retrain on unchanged data. New data in Amazon S3, announced through EventBridge once the bucket sends events there, retrains when there is enough to learn from. A drift or quality alarm, from a monitor to CloudWatch to EventBridge, retrains only when needed, but quality alarms need ground truth labels, which can arrive late.

ဘာလဲ

The trigger starts a SageMaker Pipelines run or a Step Functions workflow. The new model is the challenger. It is evaluated on the same data as the champion, the model in production. Only a better challenger moves on. An approval gate, manual or a metric rule, sets the Model Registry status to Approved, which starts deployment, ideally with a canary rollout.

Avoid retrain loops. If model output is written to the bucket that triggers training, every run starts the next. Set a minimum time between runs, limit concurrent executions, and trigger on labeled data only. Make a retrain that finds no improvement end quietly, and alert when a pipeline retrains many times in a row.

မှတ်ထားရန်

  • Triggers: EventBridge schedule, new data in S3, drift or quality alarm.
  • The trigger starts Pipelines or Step Functions.
  • Champion is in production. Challenger must beat it on the same data.
  • An approval gate sets Approved in Model Registry, which starts deployment.

မှတ်ထားရန်

  • Avoid loops with a minimum interval, limited concurrency and labeled-data triggers.

စာမေးပွဲမှာ

  • “Retrain only when accuracy drops” points to a quality or drift alarm that starts the pipeline.
  • “Retrain every night, simplest” points to an EventBridge schedule.
  • “New model must beat the production model before release” points to a champion and challenger comparison.
  • “Pipeline keeps retraining itself” points to model output landing in the trigger bucket, a loop.