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.
Attributes
Name
Description
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.
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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2026-05-16 UTC."],[],[]]