Interface CfnModelCardPropsMixin.ISourceAlgorithmProperty
Specifies an algorithm that was used to create the model package.
Namespace: Amazon.CDK.CfnPropertyMixins.AWS.SageMaker
Assembly: Amazon.CDK.CfnPropertyMixins.dll
Syntax (csharp)
public interface CfnModelCardPropsMixin.ISourceAlgorithmProperty
Syntax (vb)
Public Interface CfnModelCardPropsMixin.ISourceAlgorithmProperty
Remarks
The algorithm must be either an algorithm resource in your SageMaker account or an algorithm in AWS Marketplace that you are subscribed to.
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.CfnPropertyMixins.AWS.SageMaker;
var sourceAlgorithmProperty = new SourceAlgorithmProperty {
AlgorithmName = "algorithmName",
ModelDataUrl = "modelDataUrl"
};
Synopsis
Properties
| AlgorithmName | The name of an algorithm that was used to create the model package. |
| ModelDataUrl | The Amazon S3 path where the model artifacts, which result from model training, are stored. |
Properties
AlgorithmName
The name of an algorithm that was used to create the model package.
string? AlgorithmName { get; }
Property Value
Remarks
The algorithm must be either an algorithm resource in your SageMaker account or an algorithm in AWS Marketplace that you are subscribed to.
ModelDataUrl
The Amazon S3 path where the model artifacts, which result from model training, are stored.
string? ModelDataUrl { get; }
Property Value
Remarks
This path must point to a single gzip compressed tar archive ( .tar.gz suffix).
The model artifacts must be in an S3 bucket that is in the same AWS region as the algorithm.