Title: Historical retrieval without an entity dataframe · Issue #1611 · feast-dev/feast · GitHub
Open Graph Title: Historical retrieval without an entity dataframe · Issue #1611 · feast-dev/feast
X Title: Historical retrieval without an entity dataframe · Issue #1611 · feast-dev/feast
Description: Is your feature request related to a problem? Please describe. The current Feast get_historical_features() method requires that users provide an entity dataframe as follows training_df = store.get_historical_features( entity_df=entity_df...
Open Graph Description: Is your feature request related to a problem? Please describe. The current Feast get_historical_features() method requires that users provide an entity dataframe as follows training_df = store.get_...
X Description: Is your feature request related to a problem? Please describe. The current Feast get_historical_features() method requires that users provide an entity dataframe as follows training_df = store.get_...
Opengraph URL: https://github.com/feast-dev/feast/issues/1611
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Historical retrieval without an entity dataframe","articleBody":"**Is your feature request related to a problem? Please describe.**\r\nThe current Feast `get_historical_features()` method requires that users provide an entity dataframe as follows\r\n\r\n```python\r\ntraining_df = store.get_historical_features(\r\n entity_df=entity_df, \r\n feature_refs = [\r\n 'drivers_activity:trips_today'\r\n 'drivers_profile:rating'\r\n ],\r\n)\r\n```\r\nHowever, many users would like the feature store to provide entities to them for training, instead of having to query or provide entities as part of the entity dataframe.\r\n\r\n**Describe the solution you'd like**\r\nAllow users to specify an existing feature view from which an entity dataframe will be queried.\r\n\r\n```python\r\ntraining_df = store.get_historical_features(\r\n entity_df=\"drivers_activity\", \r\n feature_refs = [\r\n 'drivers_activity:trips_today'\r\n 'drivers_profile:rating'\r\n ],\r\n)\r\n```\r\n\r\nWith the addition of time range filtering.\r\n\r\n```python\r\ntraining_df = store.get_historical_features(\r\n entity_df=\"drivers_activity\", \r\n feature_refs = [\r\n 'drivers_activity:trips_today'\r\n 'drivers_profile:rating'\r\n ],\r\n from_date=(today - timedelta(days = 7)),\r\n to_date=datetime.now(),\r\n)\r\n```\r\n","author":{"url":"https://github.com/woop","@type":"Person","name":"woop"},"datePublished":"2021-06-01T19:31:58.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":22},"url":"https://github.com/1611/feast/issues/1611"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:f5d6197d-eec7-97cd-79e6-76d44a382427 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | C05C:B1641:86913E:B5FC81:696E80F7 |
| html-safe-nonce | 56098aea5f4ed88eb24ffcdcbe64b63b362655fff2b5b053aeb44af979dd2179 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDMDVDOkIxNjQxOjg2OTEzRTpCNUZDODE6Njk2RTgwRjciLCJ2aXNpdG9yX2lkIjoiNDcyNzUxNzkwMzczNTEyODMxMiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 3f4421ac24917349583f4a790c6a443c9444463247746a8664bf4a9ed4d32dcf |
| hovercard-subject-tag | issue:908623062 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/feast-dev/feast/1611/issue_layout |
| twitter:image | https://opengraph.githubassets.com/fcda16d5188becb70b9c4bec2f8eaf09386f898a521962cfba0ba3c33c7e48e9/feast-dev/feast/issues/1611 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/fcda16d5188becb70b9c4bec2f8eaf09386f898a521962cfba0ba3c33c7e48e9/feast-dev/feast/issues/1611 |
| og:image:alt | Is your feature request related to a problem? Please describe. The current Feast get_historical_features() method requires that users provide an entity dataframe as follows training_df = store.get_... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | woop |
| hostname | github.com |
| expected-hostname | github.com |
| None | fdad15fd2ad43212aa8b8be5f2c2725550f8374ceeeb154a999ad9145b43f3f7 |
| turbo-cache-control | no-preview |
| go-import | github.com/feast-dev/feast git https://github.com/feast-dev/feast.git |
| octolytics-dimension-user_id | 57027613 |
| octolytics-dimension-user_login | feast-dev |
| octolytics-dimension-repository_id | 161133770 |
| octolytics-dimension-repository_nwo | feast-dev/feast |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 161133770 |
| octolytics-dimension-repository_network_root_nwo | feast-dev/feast |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 27b23bc056eb973d350fc95afc848757edb9e7a9 |
| ui-target | canary-2 |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width