Book Image

Feature Store for Machine Learning

By : Jayanth Kumar M J
Book Image

Feature Store for Machine Learning

By: Jayanth Kumar M J

Overview of this book

Feature store is one of the storage layers in machine learning (ML) operations, where data scientists and ML engineers can store transformed and curated features for ML models. This makes them available for model training, inference (batch and online), and reuse in other ML pipelines. Knowing how to utilize feature stores to their fullest potential can save you a lot of time and effort, and this book will teach you everything you need to know to get started. Feature Store for Machine Learning is for data scientists who want to learn how to use feature stores to share and reuse each other's work and expertise. You’ll be able to implement practices that help in eliminating reprocessing of data, providing model-reproducible capabilities, and reducing duplication of work, thus improving the time to production of the ML model. While this ML book offers some theoretical groundwork for developers who are just getting to grips with feature stores, there's plenty of practical know-how for those ready to put their knowledge to work. With a hands-on approach to implementation and associated methodologies, you'll get up and running in no time. By the end of this book, you’ll have understood why feature stores are essential and how to use them in your ML projects, both on your local system and on the cloud.
Table of Contents (13 chapters)
1
Section 1 – Why Do We Need a Feature Store?
4
Section 2 – A Feature Store in Action
9
Section 3 – Alternatives, Best Practices, and a Use Case

Feature management with SageMaker Feature Store

In this section, we will look into what action we might have to take if we were to use a managed feature store instead of Feast in Chapter 4, Adding Feature Store to ML Models.

Important Note

All managed feature stores have a similar workflow; some may be API-based and some work through a CLI. But irrespective of this, the amount of work involved in using the feature store would be similar to what we will discuss in this section. The only reason I am going through SageMaker is familiarity and ease of access to it, using the free trial as a featured product in AWS.

Resources to use SageMaker

In Chapter 4, Adding Feature Store to ML Models, before we started using the feature store, we created a bunch of resources on AWS, such as an S3 bucket, a Redshift cluster, an IAM role, and a Glue catalog table. Conversely, for a managed feature store such as SageMaker, all you need to have is an IAM role that has full access to SageMaker...