public sealed class FractionSplit : IMessage<FractionSplit>, IEquatable<FractionSplit>, IDeepCloneable<FractionSplit>, IBufferMessage, IMessage
Reference documentation and code samples for the Vertex AI v1beta1 API class FractionSplit.
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 2025-08-14 UTC."],[[["\u003cp\u003eFractionSplit is a class within the Vertex AI v1beta1 API that manages the allocation of input data into training, validation, and test sets.\u003c/p\u003e\n"],["\u003cp\u003eUsers can specify the fraction of data for each set (\u003ccode\u003etraining_fraction\u003c/code\u003e, \u003ccode\u003evalidation_fraction\u003c/code\u003e, \u003ccode\u003etest_fraction\u003c/code\u003e), and they must sum up to 1 or less.\u003c/p\u003e\n"],["\u003cp\u003eIf fractions are not specified, Vertex AI will use a default split of roughly 80% for training, 10% for validation, and 10% for testing.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eFractionSplit\u003c/code\u003e class has properties (\u003ccode\u003eTestFraction\u003c/code\u003e, \u003ccode\u003eTrainingFraction\u003c/code\u003e, \u003ccode\u003eValidationFraction\u003c/code\u003e) to manage the fractions for each data set, all of which are of \u003ccode\u003edouble\u003c/code\u003e type.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eFractionSplit\u003c/code\u003e class implements interfaces such as \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, and inherits from the base \u003ccode\u003eobject\u003c/code\u003e class.\u003c/p\u003e\n"]]],[],null,[]]