@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Autotune extends Object implements Serializable, Cloneable, StructuredPojo
A flag to indicate if you want to use Autotune to automatically find optimal values for the following fields:
ParameterRanges: The names and ranges of parameters that a hyperparameter tuning job can optimize.
ResourceLimits: The maximum resources that can be used for a training job. These resources include the maximum number of training jobs, the maximum runtime of a tuning job, and the maximum number of training jobs to run at the same time.
TrainingJobEarlyStoppingType: A flag that specifies whether or not to use early stopping for training jobs launched by a hyperparameter tuning job.
RetryStrategy: The number of times to retry a training job.
Strategy: Specifies how hyperparameter tuning chooses the combinations of hyperparameter values to use for the training jobs that it launches.
Constructor and Description |
---|
Autotune() |
Modifier and Type | Method and Description |
---|---|
Autotune |
clone() |
boolean |
equals(Object obj) |
String |
getMode()
Set
Mode to Enabled if you want to use Autotune. |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setMode(String mode)
Set
Mode to Enabled if you want to use Autotune. |
String |
toString()
Returns a string representation of this object.
|
Autotune |
withMode(AutotuneMode mode)
Set
Mode to Enabled if you want to use Autotune. |
Autotune |
withMode(String mode)
Set
Mode to Enabled if you want to use Autotune. |
public void setMode(String mode)
Set Mode
to Enabled
if you want to use Autotune.
mode
- Set Mode
to Enabled
if you want to use Autotune.AutotuneMode
public String getMode()
Set Mode
to Enabled
if you want to use Autotune.
Mode
to Enabled
if you want to use Autotune.AutotuneMode
public Autotune withMode(String mode)
Set Mode
to Enabled
if you want to use Autotune.
mode
- Set Mode
to Enabled
if you want to use Autotune.AutotuneMode
public Autotune withMode(AutotuneMode mode)
Set Mode
to Enabled
if you want to use Autotune.
mode
- Set Mode
to Enabled
if you want to use Autotune.AutotuneMode
public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.