Google Cloud Ai Platform V1 Client - Class DoubleValueSpec (0.38.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

Namespace

Google \ Cloud \ AIPlatform \ V1 \ StudySpec \ ParameterSpec

Methods

__construct

Constructor.

Parameters
Name Description
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
Type Description
float

setMinValue

Required. Inclusive minimum value of the parameter.

Parameter
Name Description
var float
Returns
Type Description
$this

getMaxValue

Required. Inclusive maximum value of the parameter.

Returns
Type Description
float

setMaxValue

Required. Inclusive maximum value of the parameter.

Parameter
Name Description
var float
Returns
Type Description
$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
Type Description
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
Name Description
var float
Returns
Type Description
$this