Skip to content

Commit

Permalink
Remove model.pkl file name
Browse files Browse the repository at this point in the history
  • Loading branch information
nick863 committed Aug 31, 2023
1 parent e5f7b24 commit 279ed22
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -913,7 +913,7 @@
")\n",
"\n",
"model = Model(\n",
" path=f\"azureml://jobs/{best_run.info.run_id}/outputs/artifacts/outputs/model.pkl\",\n",
" path=f\"azureml://jobs/{best_run.info.run_id}/outputs/artifacts/outputs/\",\n",
" name=model_name,\n",
" description=\"Orange juice sales model.\",\n",
")\n",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1109,7 +1109,7 @@
"batch_endpoint_name = \"forecast-recipes-univariate-run4\"\n",
"\n",
"model = Model(\n",
" path=f\"azureml://jobs/{best_run.info.run_id}/outputs/artifacts/outputs/model.pkl\",\n",
" path=f\"azureml://jobs/{best_run.info.run_id}/outputs/artifacts/outputs/\",\n",
" name=model_name,\n",
" description=\"Forecasting Recipe Univariate Model\",\n",
")\n",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -422,7 +422,7 @@
"outputs": [],
"source": [
"# Create the AutoML forecasting job with the related factory-function. Force the target column, to be integer type (To be added in phase 2)\n",
"forecasting_job = automl.forecasting(\n",
"forecasting_job = automl.forecasting(\n",
" experiment_name=exp_name,\n",
" training_data=my_training_data_input,\n",
" target_column_name=target_column_name,\n",
Expand Down Expand Up @@ -815,7 +815,7 @@
"batch_endpoint_name = \"bike-share\" + datetime.datetime.now().strftime(\"%m%d%H%M%f\")\n",
"\n",
"model = Model(\n",
" path=f\"azureml://jobs/{best_run.info.run_id}/outputs/artifacts/outputs/model.pkl\",\n",
" path=f\"azureml://jobs/{best_run.info.run_id}/outputs/artifacts/outputs/\",\n",
" name=model_name,\n",
" description=\"Bike share model.\",\n",
")\n",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -817,7 +817,7 @@
"batch_endpoint_name = \"energy-demand-\" + datetime.datetime.now().strftime(\"%m%d%H%M%f\")\n",
"\n",
"model = Model(\n",
" path=f\"azureml://jobs/{best_run.info.run_id}/outputs/artifacts/outputs/model.pkl\",\n",
" path=f\"azureml://jobs/{best_run.info.run_id}/outputs/artifacts/outputs/\",\n",
" name=model_name,\n",
" description=\"Energy demand model.\",\n",
")\n",
Expand Down

0 comments on commit 279ed22

Please sign in to comment.