Function createAutomlDeploymentRealtimePrediction

  • Generates predictions in a synchronous request and response.

    Parameters

    • deploymentId: string

      The ID of the ML deployed model that will be employed to produce predictions.

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

      an object with query parameters

      • OptionalincludeNotPredictedReason?: boolean

        If true, will include a column with the reason why a prediction was not produced.

      • OptionalincludeShap?: boolean

        If true, the shapley values will be included in the response.

      • OptionalincludeSource?: boolean

        If true, the source data will be included in the 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<CreateAutomlDeploymentRealtimePredictionHttpResponse>

    CreateAutomlDeploymentRealtimePredictionHttpError