AI Cloud Architect

Batch write and discover records in Amazon SageMaker Feature Store

AWSHow-to by Harshil Shah, Chirag Pandey, Dhaval Shah and Siamak NarimanAWS Artificial Intelligence Blog

Amazon SageMaker Feature Store now supports two new APIs: BatchWriteRecord writes up to 25 records across multiple feature groups in a single call, and ListRecords enumerates record identifiers within a feature group. In this post, we walk through each API with code examples you can use to get started.

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

AI: Summary

What it is

Feature Store adds BatchWriteRecord, which writes up to 25 records across feature groups per call, and ListRecords, which enumerates record identifiers in a feature group.

Who it is for

ML platform teams running high-throughput feature pipelines or In-Memory tier feature groups that need to find or clean up records.

Key points

  • BatchWriteRecord accepts up to 25 entries per request with partial-success semantics; failed records must be retried.
  • ListRecords works with both Standard (DynamoDB) and In-Memory (Redis) tiers and returns identifiers only, not feature values.
  • Requires SageMaker Feature Store permissions on each target feature group ARN; boto3 latest or SageMaker Python SDK v3.8.0 or later.

Timeline

Posts about Amazon SageMaker Feature Store, oldest first.

  1. Update to an existing featureAmazon SageMaker Feature Store now supports SageMaker Python SDK V3 · AWS · Announcement
  2. New featureAccelerate ML feature pipelines with new capabilities in Amazon SageMaker Feature Store · AWS · Announcement
  3. New featureAmazon SageMaker Unified Studio adds interactive interface for managing Feature Store in IAM Domains · AWS · Announcement
  4. New featureAmazon SageMaker Feature Store now supports batch feature writes and record listing · AWS · Announcement
  5. Customer storyHow Jumio built a real-time feature store on AWS · AWS · Customer story
  6. This postBatch write and discover records in Amazon SageMaker Feature Store
  7. New featureAmazon SageMaker Feature Store introduces UpdateRecord for feature-level writes · AWS · AnnouncementAlso published by What's New with AWS

Go deeper