Required characteristics of feature views in the on-demand feature #4372
-
I have some questions related to the on-demand feature view. Any recommendation or suggestion is much appreciated. Regarding the script from the on-demand feature view, what do driver_hourly_stats and transformed_conv_rate need to have in common? Do they need to share the same entity or entity join key, or do they need to have some common columns?
Is there a way to find a complete example script of the on-demand feature view? What's the rationale for needing to register an additional feature view? Initially, I thought the on-demand feature would be appended to the original in place. Some more context |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 2 replies
-
They don't really need to have anything in common, odfvs don't have a concept of an entity. your The main rationale for having a separate feature view for odfvs is that they could depend on more than one unrelated feature views. Those feature views might even have different entities. odfvs don't really care about that as they are basically row-level transformations applied after all other feature views have already been retrieved. Have you had a look at quickstart notebook? |
Beta Was this translation helpful? Give feedback.
-
Sorted on my end. The query was not set up appropriately. |
Beta Was this translation helpful? Give feedback.
-
Thank you @tokoko |
Beta Was this translation helpful? Give feedback.
They don't really need to have anything in common, odfvs don't have a concept of an entity. your
entity_df
will first be used to retrieve data from concrete feature views (soentity_df
must contain whatever join keysdriver_hourly_stats
requires) and then transformation inside odfv will be applied to the retrieved dataset to generate new features.The main rationale for having a separate feature view for odfvs is that they could depend on more than one unrelated feature views. Those feature views might even have different entities. odfvs don't really care about that as they are basically row-level transformations applied after all other feature views have already been retrieved.
Have you …