Class CfnModelPackage.SourceAlgorithmProperty
Specifies an algorithm that was used to create the model package.
Inheritance
Implements
Namespace: Amazon.CDK.AWS.Sagemaker
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class SourceAlgorithmProperty : Object, CfnModelPackage.ISourceAlgorithmProperty
Syntax (vb)
Public Class SourceAlgorithmProperty
Inherits Object
Implements CfnModelPackage.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
Constructors
SourceAlgorithmProperty() |
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. |
Constructors
SourceAlgorithmProperty()
public SourceAlgorithmProperty()
Properties
AlgorithmName
The name of an algorithm that was used to create the model package.
public string AlgorithmName { get; set; }
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.
public string ModelDataUrl { get; set; }
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.