Google Cloud Ai Platform V1 Client - Class RandomSampleConfig (1.5.0)

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

Requests are randomly selected.

Generated from protobuf message google.cloud.aiplatform.v1.SamplingStrategy.RandomSampleConfig

Namespace

Google \ Cloud \ AIPlatform \ V1 \ SamplingStrategy

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ sample_rate float

Sample rate (0, 1]

getSampleRate

Sample rate (0, 1]

Returns
Type Description
float

setSampleRate

Sample rate (0, 1]

Parameter
Name Description
var float
Returns
Type Description
$this