Interface CfnModelPackage.ISourceAlgorithmProperty
Specifies an algorithm that was used to create the model package.
Namespace: Amazon.CDK.AWS.Sagemaker
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface ISourceAlgorithmProperty
Syntax (vb)
Public Interface 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.AWS.Sagemaker;
var sourceAlgorithmProperty = new SourceAlgorithmProperty {
AlgorithmName = "algorithmName",
// the properties below are optional
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
System.String
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.
virtual string ModelDataUrl { get; }
Property Value
System.String
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.