Skip to content

Commit

Permalink
Fixed issue with mlflow version
Browse files Browse the repository at this point in the history
  • Loading branch information
fadnavismehul committed Aug 6, 2022
1 parent 6e377ff commit e6df74d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion 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 @@ -84,6 +84,7 @@ def go(config: DictConfig):
_ = mlflow.run(
f"{config['main']['components_repository']}/train_val_test_split",
"main",
version="main",
parameters={
"input" : "clean_data.csv:latest",
"test_size" : config['modeling']['test_size'] ,
Expand Down Expand Up @@ -121,6 +122,7 @@ def go(config: DictConfig):
_ = mlflow.run(
f"{config['main']['components_repository']}/test_regression_model",
"main",
version="main",
parameters={
"mlflow_model" : "random_forest_export:prod",
"test_dataset" : "test_data.csv:latest"
Expand Down

0 comments on commit e6df74d

Please sign in to comment.