Error in Automated ML for Time Series forecasting

Rafal Manda 1 Reputation point
2022-10-12T10:47:44.943+00:00

I am experiencing an issue with the Automated ML for time series forecasting. I can manually trigger the job and it trains the model successfully:249673-e-1.png

The data that I am using consists of 2 columns Invoice-date and total. I am using the first one as a date variable and the second as a target variable:
249693-e-2.png

The issue that I have is that I cannot retrain the same model from the generated code which I am downloading straight from Azure: 249657-e-3.png 249659-e-4.png

This approach of recreating the model from generated code worked for me when I was training the Classification models some time ago, so I believe that it should work in a similar way as well.

The error that I am getting after running the script_run_notebook.ipynb is the following:
249694-e-5.png

This makes sense because in the script.py file the auto variable is not defined which is reported by VS Code:
249676-e-6.png
249713-e-7.png

Is there anything that I am missing, or currently it is not possible to recreate the model from Automated ML in Azure by using generated code?

Community Center | Not monitored
{count} votes

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.