Google Cloud Ai Platform V1 Client - Class PredefinedSplit (1.0.0-RC1)

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

Assigns input data to training, validation, and test sets based on the value of a provided key.

Supported only for tabular Datasets.

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

Namespace

Google \ Cloud \ AIPlatform \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ key string

Required. The key is a name of one of the Dataset's data columns. The value of the key (either the label's value or value in the column) must be one of {training, validation, test}, and it defines to which set the given piece of data is assigned. If for a piece of data the key is not present or has an invalid value, that piece is ignored by the pipeline.

getKey

Required. The key is a name of one of the Dataset's data columns.

The value of the key (either the label's value or value in the column) must be one of {training, validation, test}, and it defines to which set the given piece of data is assigned. If for a piece of data the key is not present or has an invalid value, that piece is ignored by the pipeline.

Returns
Type Description
string

setKey

Required. The key is a name of one of the Dataset's data columns.

The value of the key (either the label's value or value in the column) must be one of {training, validation, test}, and it defines to which set the given piece of data is assigned. If for a piece of data the key is not present or has an invalid value, that piece is ignored by the pipeline.

Parameter
Name Description
var string
Returns
Type Description
$this