describe_trial_component
(**kwargs)¶Provides a list of a trials component's properties.
See also: AWS API Documentation
Request Syntax
response = client.describe_trial_component(
TrialComponentName='string'
)
[REQUIRED]
The name of the trial component to describe.
{
'TrialComponentName': 'string',
'TrialComponentArn': 'string',
'DisplayName': 'string',
'Source': {
'SourceArn': 'string',
'SourceType': 'string'
},
'Status': {
'PrimaryStatus': 'InProgress'|'Completed'|'Failed'|'Stopping'|'Stopped',
'Message': 'string'
},
'StartTime': datetime(2015, 1, 1),
'EndTime': datetime(2015, 1, 1),
'CreationTime': datetime(2015, 1, 1),
'CreatedBy': {
'UserProfileArn': 'string',
'UserProfileName': 'string',
'DomainId': 'string',
'IamIdentity': {
'Arn': 'string',
'PrincipalId': 'string',
'SourceIdentity': 'string'
}
},
'LastModifiedTime': datetime(2015, 1, 1),
'LastModifiedBy': {
'UserProfileArn': 'string',
'UserProfileName': 'string',
'DomainId': 'string',
'IamIdentity': {
'Arn': 'string',
'PrincipalId': 'string',
'SourceIdentity': 'string'
}
},
'Parameters': {
'string': {
'StringValue': 'string',
'NumberValue': 123.0
}
},
'InputArtifacts': {
'string': {
'MediaType': 'string',
'Value': 'string'
}
},
'OutputArtifacts': {
'string': {
'MediaType': 'string',
'Value': 'string'
}
},
'MetadataProperties': {
'CommitId': 'string',
'Repository': 'string',
'GeneratedBy': 'string',
'ProjectId': 'string'
},
'Metrics': [
{
'MetricName': 'string',
'SourceArn': 'string',
'TimeStamp': datetime(2015, 1, 1),
'Max': 123.0,
'Min': 123.0,
'Last': 123.0,
'Count': 123,
'Avg': 123.0,
'StdDev': 123.0
},
],
'LineageGroupArn': 'string',
'Sources': [
{
'SourceArn': 'string',
'SourceType': 'string'
},
]
}
Response Structure
The name of the trial component.
The Amazon Resource Name (ARN) of the trial component.
The name of the component as displayed. If DisplayName
isn't specified, TrialComponentName
is displayed.
The Amazon Resource Name (ARN) of the source and, optionally, the job type.
The source Amazon Resource Name (ARN).
The source job type.
The status of the component. States include:
The status of the trial component.
If the component failed, a message describing why.
When the component started.
When the component ended.
When the component was created.
Who created the trial component.
The Amazon Resource Name (ARN) of the user's profile.
The name of the user's profile.
The domain associated with the user.
The IAM Identity details associated with the user. These details are associated with model package groups, model packages, and project entities only.
The Amazon Resource Name (ARN) of the IAM identity.
The ID of the principal that assumes the IAM identity.
The person or application which assumes the IAM identity.
When the component was last modified.
Who last modified the component.
The Amazon Resource Name (ARN) of the user's profile.
The name of the user's profile.
The domain associated with the user.
The IAM Identity details associated with the user. These details are associated with model package groups, model packages, and project entities only.
The Amazon Resource Name (ARN) of the IAM identity.
The ID of the principal that assumes the IAM identity.
The person or application which assumes the IAM identity.
The hyperparameters of the component.
The value of a hyperparameter. Only one of NumberValue
or StringValue
can be specified.
This object is specified in the CreateTrialComponent request.
The string value of a categorical hyperparameter. If you specify a value for this parameter, you can't specify the NumberValue
parameter.
The numeric value of a numeric hyperparameter. If you specify a value for this parameter, you can't specify the StringValue
parameter.
The input artifacts of the component.
Represents an input or output artifact of a trial component. You specify TrialComponentArtifact
as part of the InputArtifacts
and OutputArtifacts
parameters in the CreateTrialComponent request.
Examples of input artifacts are datasets, algorithms, hyperparameters, source code, and instance types. Examples of output artifacts are metrics, snapshots, logs, and images.
The media type of the artifact, which indicates the type of data in the artifact file. The media type consists of a type and a subtype concatenated with a slash (/) character, for example, text/csv, image/jpeg, and s3/uri. The type specifies the category of the media. The subtype specifies the kind of data.
The location of the artifact.
The output artifacts of the component.
Represents an input or output artifact of a trial component. You specify TrialComponentArtifact
as part of the InputArtifacts
and OutputArtifacts
parameters in the CreateTrialComponent request.
Examples of input artifacts are datasets, algorithms, hyperparameters, source code, and instance types. Examples of output artifacts are metrics, snapshots, logs, and images.
The media type of the artifact, which indicates the type of data in the artifact file. The media type consists of a type and a subtype concatenated with a slash (/) character, for example, text/csv, image/jpeg, and s3/uri. The type specifies the category of the media. The subtype specifies the kind of data.
The location of the artifact.
Metadata properties of the tracking entity, trial, or trial component.
The commit ID.
The repository.
The entity this entity was generated by.
The project ID.
The metrics for the component.
A summary of the metrics of a trial component.
The name of the metric.
The Amazon Resource Name (ARN) of the source.
When the metric was last updated.
The maximum value of the metric.
The minimum value of the metric.
The most recent value of the metric.
The number of samples used to generate the metric.
The average value of the metric.
The standard deviation of the metric.
The Amazon Resource Name (ARN) of the lineage group.
A list of ARNs and, if applicable, job types for multiple sources of an experiment run.
The Amazon Resource Name (ARN) and job type of the source of a trial component.
The source Amazon Resource Name (ARN).
The source job type.
Exceptions
SageMaker.Client.exceptions.ResourceNotFound