AI Cloud Architect

How Hapag-Lloyd improved schedule reliability with ML-powered vessel schedule predictions using Amazon SageMaker

AWSCustomer story by Thomas Voss, Bernhard Hersberger, Gabija Pasiunaite, Jean-Michel Lourier and Mousam MajhiAWS Artificial Intelligence Blog

In this post, we share how Hapag-Lloyd developed and implemented a machine learning (ML)-powered assistant predicting vessel arrival and departure times that revolutionizes their schedule planning. By using Amazon SageMaker AI and implementing robust MLOps practices, Hapag-Lloyd has enhanced its schedule reliability—a key performance indicator in the industry and quality promise to their customers.

Read the original (opens the source's page in a new tab)

AI: Summary

What it is

Hapag-Lloyd built a hierarchical ML system on SageMaker that predicts vessel arrival and departure times, replacing rule-based and statistical estimates.

Who it is for

Architects and ML teams building batch-plus-real-time ML forecasting pipelines on SageMaker that must stay reliable at scale.

Key points

  • Nightly batch inference runs on SageMaker, with a real-time API via API Gateway and Lambda for schedule changes.
  • Hapag-Lloyd says MAE is about 12% better than the previous solution and API response times are hundreds of milliseconds.
  • Models are orchestrated with Step Functions and SageMaker Pipelines, with a MAE threshold that discards weak model versions.