Google Cloud Ai Platform V1 Client - Class RandomSampleConfig (0.27.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
NameDescription
data array

Optional. Data for populating the Message object.

↳ sample_rate float

Sample rate (0, 1]

getSampleRate

Sample rate (0, 1]

Returns
TypeDescription
float

setSampleRate

Sample rate (0, 1]

Parameter
NameDescription
var float
Returns
TypeDescription
$this