Post: Single Prediction API

Endpoint: /prediction/singlepredict

Generates a prediction for a single input instance using the trained model. This is useful for real-time inference where one data point is evaluated at a time.

Input Parameters:

  • usecaseId (string, required): Unique identifier for the dataset/use case.
  • usecaseVersion (integer, optional): Version of the use case.

    Default value: 1

  • input_data (string, required in body): A JSON array string representing a single input data instance.

Output:

Returns a JSON response with the predicted output for the provided single input instance.