Last active
February 7, 2020 04:00
-
-
Save thirteen37/6a50c962980e6beb457bb19d76203669 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Batch retrieval from warehouse store at training | |
features = feast_client.get_batch_features( | |
entity_rows = df, # dataframe containing entity values to join features to | |
feature_refs = [ "humidity", "rainfall", "temperature" ] | |
) | |
# Online retrieval from low-latency store at serving | |
features = feast_client.get_online_features( | |
entity_rows = entity_rows, # list of entity values to join features to | |
feature_refs = [ "humidity", "rainfall", "temperature" ] | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment