Skip to content

Commit

Permalink
successful test regression model
Browse files Browse the repository at this point in the history
  • Loading branch information
datascientistlin committed Mar 9, 2022
1 parent 30f490b commit dec8ed4
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions main.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
# NOTE: We do not include this in the steps so it is not run by mistake.
# You first need to promote a model export to "prod" before you can run this,
# then you need to run this step explicitly
# "test_regression_model"
"test_regression_model"
]


Expand Down Expand Up @@ -130,7 +130,14 @@ def go(config: DictConfig):
# Implement here #
##################

pass
_ = mlflow.run(
f"{config['main']['components_repository']}/test_regression_model",
"main",
parameters={
"mlflow_model": "random_forest_export:prod",
"test_dataset": "test_data.csv:latest",
},
)


if __name__ == "__main__":
Expand Down

0 comments on commit dec8ed4

Please sign in to comment.