Skip to content

Returns an MLModel that includes detailed metadata, data source information, and the current status of the MLModel

Description

Returns an MLModel that includes detailed metadata, data source information, and the current status of the MLModel.

get_ml_model provides results in normal or verbose format.

Usage

machinelearning_get_ml_model(MLModelId, Verbose)

Arguments

  • MLModelId

    [required] The ID assigned to the MLModel at creation.

  • Verbose

    Specifies whether the get_ml_model operation should return Recipe.

    If true, Recipe is returned.

    If false, Recipe is not returned.

Value

A list with the following syntax:

list(
  MLModelId = "string",
  TrainingDataSourceId = "string",
  CreatedByIamUser = "string",
  CreatedAt = as.POSIXct(
    "2015-01-01"
  ),
  LastUpdatedAt = as.POSIXct(
    "2015-01-01"
  ),
  Name = "string",
  Status = "PENDING"|"INPROGRESS"|"FAILED"|"COMPLETED"|"DELETED",
  SizeInBytes = 123,
  EndpointInfo = list(
    PeakRequestsPerSecond = 123,
    CreatedAt = as.POSIXct(
      "2015-01-01"
    ),
    EndpointUrl = "string",
    EndpointStatus = "NONE"|"READY"|"UPDATING"|"FAILED"
  ),
  TrainingParameters = list(
    "string"
  ),
  InputDataLocationS3 = "string",
  MLModelType = "REGRESSION"|"BINARY"|"MULTICLASS",
  ScoreThreshold = 123.0,
  ScoreThresholdLastUpdatedAt = as.POSIXct(
    "2015-01-01"
  ),
  LogUri = "string",
  Message = "string",
  ComputeTime = 123,
  FinishedAt = as.POSIXct(
    "2015-01-01"
  ),
  StartedAt = as.POSIXct(
    "2015-01-01"
  ),
  Recipe = "string",
  Schema = "string"
)

Request syntax

svc$get_ml_model(
  MLModelId = "string",
  Verbose = TRUE|FALSE
)