Google Cloud Ai Platform V1 Client - Class SupervisedHyperParameters (1.7.0)

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

Hyperparameters for SFT.

Generated from protobuf message google.cloud.aiplatform.v1.SupervisedHyperParameters

Namespace

Google \ Cloud \ AIPlatform \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ epoch_count int|string

Optional. Number of complete passes the model makes over the entire training dataset during training.

↳ learning_rate_multiplier float

Optional. Multiplier for adjusting the default learning rate.

↳ adapter_size int

Optional. Adapter size for tuning.

getEpochCount

Optional. Number of complete passes the model makes over the entire training dataset during training.

Returns
Type Description
int|string

setEpochCount

Optional. Number of complete passes the model makes over the entire training dataset during training.

Parameter
Name Description
var int|string
Returns
Type Description
$this

getLearningRateMultiplier

Optional. Multiplier for adjusting the default learning rate.

Returns
Type Description
float

setLearningRateMultiplier

Optional. Multiplier for adjusting the default learning rate.

Parameter
Name Description
var float
Returns
Type Description
$this

getAdapterSize

Optional. Adapter size for tuning.

Returns
Type Description
int

setAdapterSize

Optional. Adapter size for tuning.

Parameter
Name Description
var int
Returns
Type Description
$this