Google Cloud Ai Platform V1 Client - Class ExportFractionSplit (0.28.0)

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

Assigns the input data to training, validation, and test sets as per the given fractions. Any of training_fraction, validation_fraction and test_fraction may optionally be provided, they must sum to up to 1. If the provided ones sum to less than 1, the remainder is assigned to sets as decided by Vertex AI. If none of the fractions are set, by default roughly 80% of data is used for training, 10% for validation, and 10% for test.

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

Namespace

Google \ Cloud \ AIPlatform \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ training_fraction float

The fraction of the input data that is to be used to train the Model.

↳ validation_fraction float

The fraction of the input data that is to be used to validate the Model.

↳ test_fraction float

The fraction of the input data that is to be used to evaluate the Model.

getTrainingFraction

The fraction of the input data that is to be used to train the Model.

Returns
TypeDescription
float

setTrainingFraction

The fraction of the input data that is to be used to train the Model.

Parameter
NameDescription
var float
Returns
TypeDescription
$this

getValidationFraction

The fraction of the input data that is to be used to validate the Model.

Returns
TypeDescription
float

setValidationFraction

The fraction of the input data that is to be used to validate the Model.

Parameter
NameDescription
var float
Returns
TypeDescription
$this

getTestFraction

The fraction of the input data that is to be used to evaluate the Model.

Returns
TypeDescription
float

setTestFraction

The fraction of the input data that is to be used to evaluate the Model.

Parameter
NameDescription
var float
Returns
TypeDescription
$this