Azure ML Batch Endpoint: How to correctly submit dataset to batch endpoint

Max CH 1 Reputation point

I built a model using auto ML and deployed it as a batch endpoint.
When I re-use the same dataset I used to train the data I get an error:

ValueError: Length mismatch: Expected axis has 1 elements, new values have 7 elements

I assume, I have to convert the whole thing into some kind of batch first?
I didn't find documentation on how to convert a structured table dataset to a batch. Does anyone know how to do this?

Thank you for the help, best, Max

Azure Machine Learning
Azure Machine Learning
An Azure machine learning service for building and deploying models.
1,707 questions
Azure Batch
Azure Batch
An Azure service that provides cloud-scale job scheduling and compute management.
248 questions
{count} votes

2 answers

Sort by: Most helpful
  1. Ramr-msft 10,816 Reputation points

    @Max CH Thanks for the question. Here is the document for Azure ML Batch endpoint for Batch scoring and Troubleshooting batch endpoints.

    Here is a sample that does AutoML Batch Scoring that can help.

  2. Shivapriya Katta 51 Reputation points

    Hi Max, I don't how you shaped the data, but I tried to do the below:175562-img1.png

    Is your data somewhere expecting to be reshaped into minibatch_size=(350,1) in the second axis?...because the error says "ValueError: Length mismatch: Expected axis has 1 elements, new values have 7 elements"