Skip to content

Batch Put Metrics

sagemakermetrics_batch_put_metrics R Documentation

Used to ingest training metrics into SageMaker

Description

Used to ingest training metrics into SageMaker. These metrics can be visualized in SageMaker Studio.

Usage

sagemakermetrics_batch_put_metrics(TrialComponentName, MetricData)

Arguments

TrialComponentName

[required] The name of the Trial Component to associate with the metrics. The Trial Component name must be entirely lowercase.

MetricData

[required] A list of raw metric values to put.

Value

A list with the following syntax:

list(
  Errors = list(
    list(
      Code = "METRIC_LIMIT_EXCEEDED"|"INTERNAL_ERROR"|"VALIDATION_ERROR"|"CONFLICT_ERROR",
      MetricIndex = 123
    )
  )
)

Request syntax

svc$batch_put_metrics(
  TrialComponentName = "string",
  MetricData = list(
    list(
      MetricName = "string",
      Timestamp = as.POSIXct(
        "2015-01-01"
      ),
      Step = 123,
      Value = 123.0
    )
  )
)