I have used the azure auto ml low code editor way of building a forecasting model (predict the demand of a product based on a 8 year time series data) by following this guide : https://learn.microsoft.com/en-us/azure/machine-learning/tutorial-automated-ml-forecast?view=azureml-api-2
Where by we have done the below steps :
- Create and load a dataset.
- Configure and run an automated ML experiment.
- Specify forecasting settings.
- Deploy the best model.
- Create an endpoint for the model
However while testing the endpoint from the studio test section, I am getting the below error :
On checking the logs, could find an input data format error as below :
The schema of the CSV that was uploaded as dataset for training the model is shared below. Please help with some leads.
Based on the provided information, I have reproduced the issue.
It seems the input expected input format required is different.
To fix this you can use the below code snippet to get the correct format:
Output:
With the above output format, the test executed successfully.