Created
September 2, 2023 23:21
-
-
Save elijahbenizzy/9600333f045e770630e550fbf92191bd 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
from hamilton import driver | |
dr = driver.Driver( | |
{"mode": "batch"}, | |
aggregations, data_loaders, joins, features, model | |
) | |
inputs = { | |
"client_login_db": "login_data", | |
"client_login_table": "client_logins", | |
"survey_results_db": "survey_data", | |
"survey_results_table": "survey_results", | |
"execution_time": datetime.datetime.now(), | |
} | |
df = dr.execute(["predictions"], inputs=inputs) | |
# Do something with the results |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment