You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Recommender systems utilise feature stores typically
Ranking models are a subset of recommender models commonly used in production
Ranking models create an N-to-N mapping (where as retrieval models create an 1-to-N mapping). This means that you need to fetch n_features for N entities per recommendation request.
Ie. first you fetch features feat_1, feat_2, feat_3 for 1 customer: result is 1 x n_cust_features. Second, you predict with model for each content entity for that single customer. This means that you fetch a set of features for all those entitites: result is n_content x n_cont_features. NOTE: this is not the same as "fetch features for all entitites" as the list of entity ids varies.
Current Behavior
result = []
for id in entity_ids:
fpf = client.features(
features = [
('content_feat_1', 'default'),
('content_feat_2', 'default')
],
entities = {'content': id}
)
result.append(fpf)
This is MUST-HAVE feature for any organisation that uses Featureform for recommender systems.
Possible Implementation
No response
Additional Context
No response
The text was updated successfully, but these errors were encountered:
Anntey
changed the title
[Feature Request]: add fetch features for batch of entities ServingClient in client
[Feature Request]: add batch-fetch features for batch of entities in ServingClient
Mar 4, 2024
Anntey
changed the title
[Feature Request]: add batch-fetch features for batch of entities in ServingClient
[Feature Request]: add batch-fetch of features for batch of entities in ServingClient
Mar 4, 2024
Anntey
changed the title
[Feature Request]: add batch-fetch of features for batch of entities in ServingClient
[Feature Request]: add batch-fetch of features to ServingClient
Mar 4, 2024
Anntey
changed the title
[Feature Request]: add batch-fetch of features to ServingClient
[Feature Request]: add batch-fetch of entitites to ServingClient
Mar 4, 2024
Description
Current Behavior
Desired Behavior
Returns
{'uid_1': [feat_1_value, feat_2_value], 'uid_2': [feat_1_value, feat_2_value], ..., 'uid_75': [feat_1_value, feat_2_value]}
or
([feat_1_value_1, feat_1_value_2, ..., feat_1_value_75], [feat_2_value_1, feat_2_value_2, ..., feat_2_value_75])
I suppose the underlying command for eg redis would look like
Benefits
This is MUST-HAVE feature for any organisation that uses Featureform for recommender systems.
Possible Implementation
No response
Additional Context
No response
The text was updated successfully, but these errors were encountered: