@Generated(value="software.amazon.awssdk:codegen") public final class TrainingSpecification extends Object implements SdkPojo, Serializable, ToCopyableBuilder<TrainingSpecification.Builder,TrainingSpecification>
Defines how the algorithm is used for a training job.
| Modifier and Type | Class and Description |
|---|---|
static interface |
TrainingSpecification.Builder |
| Modifier and Type | Method and Description |
|---|---|
static TrainingSpecification.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
boolean |
hasMetricDefinitions()
Returns true if the MetricDefinitions property was specified by the sender (it may be empty), or false if the
sender did not specify the value (it will be empty).
|
boolean |
hasSupportedHyperParameters()
Returns true if the SupportedHyperParameters property was specified by the sender (it may be empty), or false if
the sender did not specify the value (it will be empty).
|
boolean |
hasSupportedTrainingInstanceTypes()
Returns true if the SupportedTrainingInstanceTypes property was specified by the sender (it may be empty), or
false if the sender did not specify the value (it will be empty).
|
boolean |
hasSupportedTuningJobObjectiveMetrics()
Returns true if the SupportedTuningJobObjectiveMetrics property was specified by the sender (it may be empty), or
false if the sender did not specify the value (it will be empty).
|
boolean |
hasTrainingChannels()
Returns true if the TrainingChannels property was specified by the sender (it may be empty), or false if the
sender did not specify the value (it will be empty).
|
List<MetricDefinition> |
metricDefinitions()
A list of
MetricDefinition objects, which are used for parsing metrics generated by the algorithm. |
List<SdkField<?>> |
sdkFields() |
static Class<? extends TrainingSpecification.Builder> |
serializableBuilderClass() |
List<HyperParameterSpecification> |
supportedHyperParameters()
A list of the
HyperParameterSpecification objects, that define the supported hyperparameters. |
List<TrainingInstanceType> |
supportedTrainingInstanceTypes()
A list of the instance types that this algorithm can use for training.
|
List<String> |
supportedTrainingInstanceTypesAsStrings()
A list of the instance types that this algorithm can use for training.
|
List<HyperParameterTuningJobObjective> |
supportedTuningJobObjectiveMetrics()
A list of the metrics that the algorithm emits that can be used as the objective metric in a hyperparameter
tuning job.
|
Boolean |
supportsDistributedTraining()
Indicates whether the algorithm supports distributed training.
|
TrainingSpecification.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
List<ChannelSpecification> |
trainingChannels()
A list of
ChannelSpecification objects, which specify the input sources to be used by the algorithm. |
String |
trainingImage()
The Amazon ECR registry path of the Docker image that contains the training algorithm.
|
String |
trainingImageDigest()
An MD5 hash of the training algorithm that identifies the Docker image used for training.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String trainingImage()
The Amazon ECR registry path of the Docker image that contains the training algorithm.
public final String trainingImageDigest()
An MD5 hash of the training algorithm that identifies the Docker image used for training.
public final boolean hasSupportedHyperParameters()
public final List<HyperParameterSpecification> supportedHyperParameters()
A list of the HyperParameterSpecification objects, that define the supported hyperparameters. This
is required if the algorithm supports automatic model tuning.>
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasSupportedHyperParameters() to see if a value was sent in this field.
HyperParameterSpecification objects, that define the supported
hyperparameters. This is required if the algorithm supports automatic model tuning.>public final List<TrainingInstanceType> supportedTrainingInstanceTypes()
A list of the instance types that this algorithm can use for training.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasSupportedTrainingInstanceTypes() to see if a value was sent in this field.
public final boolean hasSupportedTrainingInstanceTypes()
public final List<String> supportedTrainingInstanceTypesAsStrings()
A list of the instance types that this algorithm can use for training.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasSupportedTrainingInstanceTypes() to see if a value was sent in this field.
public final Boolean supportsDistributedTraining()
Indicates whether the algorithm supports distributed training. If set to false, buyers can't request more than one instance during training.
public final boolean hasMetricDefinitions()
public final List<MetricDefinition> metricDefinitions()
A list of MetricDefinition objects, which are used for parsing metrics generated by the algorithm.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasMetricDefinitions() to see if a value was sent in this field.
MetricDefinition objects, which are used for parsing metrics generated by the
algorithm.public final boolean hasTrainingChannels()
public final List<ChannelSpecification> trainingChannels()
A list of ChannelSpecification objects, which specify the input sources to be used by the algorithm.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasTrainingChannels() to see if a value was sent in this field.
ChannelSpecification objects, which specify the input sources to be used by the
algorithm.public final boolean hasSupportedTuningJobObjectiveMetrics()
public final List<HyperParameterTuningJobObjective> supportedTuningJobObjectiveMetrics()
A list of the metrics that the algorithm emits that can be used as the objective metric in a hyperparameter tuning job.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasSupportedTuningJobObjectiveMetrics() to see if a value was sent in this field.
public TrainingSpecification.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<TrainingSpecification.Builder,TrainingSpecification>public static TrainingSpecification.Builder builder()
public static Class<? extends TrainingSpecification.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2021. All rights reserved.