AlgorithmSpecification class
Specifies the training algorithm to use in a CreateTrainingJob request.
For more information about algorithms provided by Amazon SageMaker, see Algorithms. For information about using your own algorithms, see Using Your Own Algorithms with Amazon SageMaker.
Constructors
-
AlgorithmSpecification({required TrainingInputMode trainingInputMode, String? algorithmName, bool? enableSageMakerMetricsTimeSeries, List<
MetricDefinition> ? metricDefinitions, String? trainingImage}) -
AlgorithmSpecification.fromJson(Map<
String, dynamic> json) -
factory
Properties
- algorithmName → String?
-
The name of the algorithm resource to use for the training job. This must be
an algorithm resource that you created or subscribe to on AWS Marketplace.
If you specify a value for this parameter, you can't specify a value for
TrainingImage
.final - enableSageMakerMetricsTimeSeries → bool?
-
To generate and save time-series metrics during training, set to
true
. The default isfalse
and time-series metrics aren't generated except in the following cases:final - hashCode → int
-
The hash code for this object.
no setterinherited
-
metricDefinitions
→ List<
MetricDefinition> ? -
A list of metric definition objects. Each object specifies the metric name
and regular expressions used to parse algorithm logs. Amazon SageMaker
publishes each metric to Amazon CloudWatch.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- trainingImage → String?
-
The registry path of the Docker image that contains the training algorithm.
For information about docker registry paths for built-in algorithms, see Algorithms
Provided by Amazon SageMaker: Common Parameters. Amazon SageMaker
supports both
registry/repository
and:tag
registry/repository
image path formats. For more information, see Using Your Own Algorithms with Amazon SageMaker.@digest
final - trainingInputMode → TrainingInputMode
-
The input mode that the algorithm supports. For the input modes that Amazon
SageMaker algorithms support, see Algorithms.
If an algorithm supports the
File
input mode, Amazon SageMaker downloads the training data from S3 to the provisioned ML storage Volume, and mounts the directory to docker volume for training container. If an algorithm supports thePipe
input mode, Amazon SageMaker streams data directly from S3 to the container.final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited