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

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 training epoches for this tuning job.

↳ learning_rate_multiplier float

Optional. Learning rate multiplier for tuning.

↳ adapter_size int

Optional. Adapter size for tuning.

getEpochCount

Optional. Number of training epoches for this tuning job.

Returns
Type Description
int|string

setEpochCount

Optional. Number of training epoches for this tuning job.

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

getLearningRateMultiplier

Optional. Learning rate multiplier for tuning.

Returns
Type Description
float

setLearningRateMultiplier

Optional. Learning rate multiplier for tuning.

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