Azure Automate ML Model - Error in testing endpoint JSON format

Chintan Thakkar 0 Reputation points
2023-09-27T14:54:51.45+00:00

Need help in inputting data to the JSON test endpoint:

Below is the datatype of the fields.

vendor_id=String

rate_code=int

passenger_count=int

trip_time_in_secs=int

trip_distance=decimal

payment_type=String

Error:

Failed to test endpoint

{"message":"POST body could not be decoded as JSON: Expecting ',' delimiter: line 4 column 18 (char 54)"}

Below is the JSON endpoint code.

{
  "input_data": {
    "columns": [
      "vendor_id":"CMT",
      "rate_code":1,
      "passenger_count":1,
      "trip_time_in_secs":1500,
      "trip_distance":3.5,
      "payment_type":"CRD"
    ],
    "index": [],
    "data": []
  }
}
Azure Machine Learning
Azure Machine Learning
An Azure machine learning service for building and deploying models.
2,896 questions
{count} votes

Your answer

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