Back to the Index

Entity

What is an entity in a Feature Store?

In a feature store, an entity is represented as rows in a feature group, where each row corresponds to a single instance of the object or concept.

For example, a customer_id could be a unique identifier for a customer in a customer_profile feature group. In the online store, the customer_id (entityID) is a primary key to retrieve the latest feature values for that customer. However, in the offline store, there may be many updates to the customer’s features over time, and we typically want to store those historical values, so we have a timestamp column identifying what the customer feature values were as of the point-in-time of the timestamp. In this case, the entityID can retrieve all the historical observations of feature values for that customer, while the primary key for each row is the (entityID, timestamp) pair.

Does this content look outdated? If you are interested in helping us maintain this, feel free to contact us.

© Hopsworks 2024. All rights reserved. Various trademarks held by their respective owners.

Privacy Policy
Cookie Policy
Terms and Conditions