Function runMlDeploymentRealtimePredictions

  • Generate predictions in a synchronous request/response

    Parameters

    • deploymentId: string

      ID of the deployment

    • query: {
          includeNotPredictedReason?: boolean;
          includeShap?: boolean;
          includeSource?: boolean;
          index?: string;
      }

      an object with query parameters

      • OptionalincludeNotPredictedReason?: boolean

        If true, reason why a prediction was not produced included response

      • OptionalincludeShap?: boolean

        If true, shapley values included in response

      • OptionalincludeSource?: boolean

        If true, source data included in response

      • Optionalindex?: string

        The name of the feature in the source data to use as an index in the response data. The column will be included with its original name and values. This is intended to allow the caller to join results with source data.

    • body: RealtimePredictionInput

      an object with the body content

    • Optionaloptions: ApiCallOptions

    Returns Promise<RunMlDeploymentRealtimePredictionsHttpResponse>

    RunMlDeploymentRealtimePredictionsHttpError