Created
January 13, 2022 03:14
-
-
Save kvnkho/90bf256c134de03630497d644d0e63d9 to your computer and use it in GitHub Desktop.
This file contains hidden or 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 prefect import Flow | |
with Flow("distributed") as flow: | |
X_train, X_test, y_train, y_test = create_data() | |
models = get_models() | |
training_runs = train_model.map(models, unmapped(X_train), | |
unmapped(X_test), unmapped(y_train), | |
unmapped(y_test)) | |
get_results(training_runs) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment