@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ParameterRanges extends Object implements Serializable, Cloneable, StructuredPojo
Specifies ranges of integer, continuous, and categorical hyperparameters that a hyperparameter tuning job searches. The hyperparameter tuning job launches training jobs with hyperparameter values within these ranges to find the combination of values that result in the training job with the best performance as measured by the objective metric of the hyperparameter tuning job.
The maximum number of items specified for Array Members
refers to the maximum number of hyperparameters
for each range and also the maximum for the hyperparameter tuning job itself. That is, the sum of the number of
hyperparameters for all the ranges can't exceed the maximum number specified.
Constructor and Description |
---|
ParameterRanges() |
Modifier and Type | Method and Description |
---|---|
ParameterRanges |
clone() |
boolean |
equals(Object obj) |
List<CategoricalParameterRange> |
getCategoricalParameterRanges()
The array of CategoricalParameterRange objects that specify ranges of categorical hyperparameters that a
hyperparameter tuning job searches.
|
List<ContinuousParameterRange> |
getContinuousParameterRanges()
The array of ContinuousParameterRange objects that specify ranges of continuous hyperparameters that a
hyperparameter tuning job searches.
|
List<IntegerParameterRange> |
getIntegerParameterRanges()
The array of IntegerParameterRange objects that specify ranges of integer hyperparameters that a
hyperparameter tuning job searches.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCategoricalParameterRanges(Collection<CategoricalParameterRange> categoricalParameterRanges)
The array of CategoricalParameterRange objects that specify ranges of categorical hyperparameters that a
hyperparameter tuning job searches.
|
void |
setContinuousParameterRanges(Collection<ContinuousParameterRange> continuousParameterRanges)
The array of ContinuousParameterRange objects that specify ranges of continuous hyperparameters that a
hyperparameter tuning job searches.
|
void |
setIntegerParameterRanges(Collection<IntegerParameterRange> integerParameterRanges)
The array of IntegerParameterRange objects that specify ranges of integer hyperparameters that a
hyperparameter tuning job searches.
|
String |
toString()
Returns a string representation of this object.
|
ParameterRanges |
withCategoricalParameterRanges(CategoricalParameterRange... categoricalParameterRanges)
The array of CategoricalParameterRange objects that specify ranges of categorical hyperparameters that a
hyperparameter tuning job searches.
|
ParameterRanges |
withCategoricalParameterRanges(Collection<CategoricalParameterRange> categoricalParameterRanges)
The array of CategoricalParameterRange objects that specify ranges of categorical hyperparameters that a
hyperparameter tuning job searches.
|
ParameterRanges |
withContinuousParameterRanges(Collection<ContinuousParameterRange> continuousParameterRanges)
The array of ContinuousParameterRange objects that specify ranges of continuous hyperparameters that a
hyperparameter tuning job searches.
|
ParameterRanges |
withContinuousParameterRanges(ContinuousParameterRange... continuousParameterRanges)
The array of ContinuousParameterRange objects that specify ranges of continuous hyperparameters that a
hyperparameter tuning job searches.
|
ParameterRanges |
withIntegerParameterRanges(Collection<IntegerParameterRange> integerParameterRanges)
The array of IntegerParameterRange objects that specify ranges of integer hyperparameters that a
hyperparameter tuning job searches.
|
ParameterRanges |
withIntegerParameterRanges(IntegerParameterRange... integerParameterRanges)
The array of IntegerParameterRange objects that specify ranges of integer hyperparameters that a
hyperparameter tuning job searches.
|
public List<IntegerParameterRange> getIntegerParameterRanges()
The array of IntegerParameterRange objects that specify ranges of integer hyperparameters that a hyperparameter tuning job searches.
public void setIntegerParameterRanges(Collection<IntegerParameterRange> integerParameterRanges)
The array of IntegerParameterRange objects that specify ranges of integer hyperparameters that a hyperparameter tuning job searches.
integerParameterRanges
- The array of IntegerParameterRange objects that specify ranges of integer hyperparameters that a
hyperparameter tuning job searches.public ParameterRanges withIntegerParameterRanges(IntegerParameterRange... integerParameterRanges)
The array of IntegerParameterRange objects that specify ranges of integer hyperparameters that a hyperparameter tuning job searches.
NOTE: This method appends the values to the existing list (if any). Use
setIntegerParameterRanges(java.util.Collection)
or
withIntegerParameterRanges(java.util.Collection)
if you want to override the existing values.
integerParameterRanges
- The array of IntegerParameterRange objects that specify ranges of integer hyperparameters that a
hyperparameter tuning job searches.public ParameterRanges withIntegerParameterRanges(Collection<IntegerParameterRange> integerParameterRanges)
The array of IntegerParameterRange objects that specify ranges of integer hyperparameters that a hyperparameter tuning job searches.
integerParameterRanges
- The array of IntegerParameterRange objects that specify ranges of integer hyperparameters that a
hyperparameter tuning job searches.public List<ContinuousParameterRange> getContinuousParameterRanges()
The array of ContinuousParameterRange objects that specify ranges of continuous hyperparameters that a hyperparameter tuning job searches.
public void setContinuousParameterRanges(Collection<ContinuousParameterRange> continuousParameterRanges)
The array of ContinuousParameterRange objects that specify ranges of continuous hyperparameters that a hyperparameter tuning job searches.
continuousParameterRanges
- The array of ContinuousParameterRange objects that specify ranges of continuous hyperparameters
that a hyperparameter tuning job searches.public ParameterRanges withContinuousParameterRanges(ContinuousParameterRange... continuousParameterRanges)
The array of ContinuousParameterRange objects that specify ranges of continuous hyperparameters that a hyperparameter tuning job searches.
NOTE: This method appends the values to the existing list (if any). Use
setContinuousParameterRanges(java.util.Collection)
or
withContinuousParameterRanges(java.util.Collection)
if you want to override the existing values.
continuousParameterRanges
- The array of ContinuousParameterRange objects that specify ranges of continuous hyperparameters
that a hyperparameter tuning job searches.public ParameterRanges withContinuousParameterRanges(Collection<ContinuousParameterRange> continuousParameterRanges)
The array of ContinuousParameterRange objects that specify ranges of continuous hyperparameters that a hyperparameter tuning job searches.
continuousParameterRanges
- The array of ContinuousParameterRange objects that specify ranges of continuous hyperparameters
that a hyperparameter tuning job searches.public List<CategoricalParameterRange> getCategoricalParameterRanges()
The array of CategoricalParameterRange objects that specify ranges of categorical hyperparameters that a hyperparameter tuning job searches.
public void setCategoricalParameterRanges(Collection<CategoricalParameterRange> categoricalParameterRanges)
The array of CategoricalParameterRange objects that specify ranges of categorical hyperparameters that a hyperparameter tuning job searches.
categoricalParameterRanges
- The array of CategoricalParameterRange objects that specify ranges of categorical hyperparameters
that a hyperparameter tuning job searches.public ParameterRanges withCategoricalParameterRanges(CategoricalParameterRange... categoricalParameterRanges)
The array of CategoricalParameterRange objects that specify ranges of categorical hyperparameters that a hyperparameter tuning job searches.
NOTE: This method appends the values to the existing list (if any). Use
setCategoricalParameterRanges(java.util.Collection)
or
withCategoricalParameterRanges(java.util.Collection)
if you want to override the existing values.
categoricalParameterRanges
- The array of CategoricalParameterRange objects that specify ranges of categorical hyperparameters
that a hyperparameter tuning job searches.public ParameterRanges withCategoricalParameterRanges(Collection<CategoricalParameterRange> categoricalParameterRanges)
The array of CategoricalParameterRange objects that specify ranges of categorical hyperparameters that a hyperparameter tuning job searches.
categoricalParameterRanges
- The array of CategoricalParameterRange objects that specify ranges of categorical hyperparameters
that a hyperparameter tuning job searches.public String toString()
toString
in class Object
Object.toString()
public ParameterRanges clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.