@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()
For responses, this returns true if the service returned a value for the MetricDefinitions property.
|
boolean |
hasSupportedHyperParameters()
For responses, this returns true if the service returned a value for the SupportedHyperParameters property.
|
boolean |
hasSupportedTrainingInstanceTypes()
For responses, this returns true if the service returned a value for the SupportedTrainingInstanceTypes property.
|
boolean |
hasSupportedTuningJobObjectiveMetrics()
For responses, this returns true if the service returned a value for the SupportedTuningJobObjectiveMetrics
property.
|
boolean |
hasTrainingChannels()
For responses, this returns true if the service returned a value for the TrainingChannels property.
|
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()
isEmpty() method on the
property). This is useful because the SDK will never return a null collection or map, but you may need to
differentiate between the service returning nothing (or null) and the service returning an empty collection or
map. For requests, this returns true if a value for the property was specified in the request builder, and false
if a value was not specified.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.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasSupportedHyperParameters() method.
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.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasSupportedTrainingInstanceTypes() method.
public final boolean hasSupportedTrainingInstanceTypes()
isEmpty() method on the
property). This is useful because the SDK will never return a null collection or map, but you may need to
differentiate between the service returning nothing (or null) and the service returning an empty collection or
map. For requests, this returns true if a value for the property was specified in the request builder, and false
if a value was not specified.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.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasSupportedTrainingInstanceTypes() method.
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()
isEmpty() method on the property).
This is useful because the SDK will never return a null collection or map, but you may need to differentiate
between the service returning nothing (or null) and the service returning an empty collection or map. For
requests, this returns true if a value for the property was specified in the request builder, and false if a
value was not specified.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.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasMetricDefinitions() method.
MetricDefinition objects, which are used for parsing metrics generated by the
algorithm.public final boolean hasTrainingChannels()
isEmpty() method on the property).
This is useful because the SDK will never return a null collection or map, but you may need to differentiate
between the service returning nothing (or null) and the service returning an empty collection or map. For
requests, this returns true if a value for the property was specified in the request builder, and false if a
value was not specified.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.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasTrainingChannels() method.
ChannelSpecification objects, which specify the input sources to be used by the
algorithm.public final boolean hasSupportedTuningJobObjectiveMetrics()
isEmpty()
method on the property). This is useful because the SDK will never return a null collection or map, but you may
need to differentiate between the service returning nothing (or null) and the service returning an empty
collection or map. For requests, this returns true if a value for the property was specified in the request
builder, and false if a value was not specified.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.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasSupportedTuningJobObjectiveMetrics()
method.
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.