Class FractionSplit (0.4.0)

FractionSplit(mapping=None, *, ignore_unknown_fields=False, **kwargs)

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 AI Platform. If none of the fractions are set, by default roughly 80% of data will be 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.

Inheritance

builtins.object > proto.message.Message > FractionSplit