@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DefaultCategoricalHyperParameterRange extends Object implements Serializable, Cloneable, StructuredPojo
Provides the name and default range of a categorical hyperparameter and whether the hyperparameter is tunable. A tunable hyperparameter can have its value determined during hyperparameter optimization (HPO).
Constructor and Description |
---|
DefaultCategoricalHyperParameterRange() |
Modifier and Type | Method and Description |
---|---|
DefaultCategoricalHyperParameterRange |
clone() |
boolean |
equals(Object obj) |
Boolean |
getIsTunable()
Whether the hyperparameter is tunable.
|
String |
getName()
The name of the hyperparameter.
|
List<String> |
getValues()
A list of the categories for the hyperparameter.
|
int |
hashCode() |
Boolean |
isTunable()
Whether the hyperparameter is tunable.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setIsTunable(Boolean isTunable)
Whether the hyperparameter is tunable.
|
void |
setName(String name)
The name of the hyperparameter.
|
void |
setValues(Collection<String> values)
A list of the categories for the hyperparameter.
|
String |
toString()
Returns a string representation of this object.
|
DefaultCategoricalHyperParameterRange |
withIsTunable(Boolean isTunable)
Whether the hyperparameter is tunable.
|
DefaultCategoricalHyperParameterRange |
withName(String name)
The name of the hyperparameter.
|
DefaultCategoricalHyperParameterRange |
withValues(Collection<String> values)
A list of the categories for the hyperparameter.
|
DefaultCategoricalHyperParameterRange |
withValues(String... values)
A list of the categories for the hyperparameter.
|
public DefaultCategoricalHyperParameterRange()
public void setName(String name)
The name of the hyperparameter.
name
- The name of the hyperparameter.public String getName()
The name of the hyperparameter.
public DefaultCategoricalHyperParameterRange withName(String name)
The name of the hyperparameter.
name
- The name of the hyperparameter.public List<String> getValues()
A list of the categories for the hyperparameter.
public void setValues(Collection<String> values)
A list of the categories for the hyperparameter.
values
- A list of the categories for the hyperparameter.public DefaultCategoricalHyperParameterRange withValues(String... values)
A list of the categories for the hyperparameter.
NOTE: This method appends the values to the existing list (if any). Use
setValues(java.util.Collection)
or withValues(java.util.Collection)
if you want to override the
existing values.
values
- A list of the categories for the hyperparameter.public DefaultCategoricalHyperParameterRange withValues(Collection<String> values)
A list of the categories for the hyperparameter.
values
- A list of the categories for the hyperparameter.public void setIsTunable(Boolean isTunable)
Whether the hyperparameter is tunable.
isTunable
- Whether the hyperparameter is tunable.public Boolean getIsTunable()
Whether the hyperparameter is tunable.
public DefaultCategoricalHyperParameterRange withIsTunable(Boolean isTunable)
Whether the hyperparameter is tunable.
isTunable
- Whether the hyperparameter is tunable.public Boolean isTunable()
Whether the hyperparameter is tunable.
public String toString()
toString
in class Object
Object.toString()
public DefaultCategoricalHyperParameterRange clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.