Google Cloud Ai Platform V1 Client - Class DoubleValueSpec (0.15.0)

Reference documentation and code samples for the Google Cloud Ai Platform V1 Client class DoubleValueSpec.

Value specification for a parameter in DOUBLE type.

Generated from protobuf message google.cloud.aiplatform.v1.StudySpec.ParameterSpec.DoubleValueSpec

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ min_value float

Required. Inclusive minimum value of the parameter.

↳ max_value float

Required. Inclusive maximum value of the parameter.

↳ default_value float

A default value for a DOUBLE parameter that is assumed to be a relatively good starting point. Unset value signals that there is no offered starting point. Currently only supported by the Vertex AI Vizier service. Not supported by HyperparameterTuningJob or TrainingPipeline.

getMinValue

Required. Inclusive minimum value of the parameter.

Returns
TypeDescription
float

setMinValue

Required. Inclusive minimum value of the parameter.

Parameter
NameDescription
var float
Returns
TypeDescription
$this

getMaxValue

Required. Inclusive maximum value of the parameter.

Returns
TypeDescription
float

setMaxValue

Required. Inclusive maximum value of the parameter.

Parameter
NameDescription
var float
Returns
TypeDescription
$this

getDefaultValue

A default value for a DOUBLE parameter that is assumed to be a relatively good starting point. Unset value signals that there is no offered starting point.

Currently only supported by the Vertex AI Vizier service. Not supported by HyperparameterTuningJob or TrainingPipeline.

Returns
TypeDescription
float

hasDefaultValue

clearDefaultValue

setDefaultValue

A default value for a DOUBLE parameter that is assumed to be a relatively good starting point. Unset value signals that there is no offered starting point.

Currently only supported by the Vertex AI Vizier service. Not supported by HyperparameterTuningJob or TrainingPipeline.

Parameter
NameDescription
var float
Returns
TypeDescription
$this