public static final class ExportFractionSplit.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ExportFractionSplit.Builder> implements ExportFractionSplitOrBuilder
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.Protobuf type
google.cloud.aiplatform.v1.ExportFractionSplit| Modifier and Type | Method and Description |
|---|---|
ExportFractionSplit.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
ExportFractionSplit |
build() |
ExportFractionSplit |
buildPartial() |
ExportFractionSplit.Builder |
clear() |
ExportFractionSplit.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
ExportFractionSplit.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
ExportFractionSplit.Builder |
clearTestFraction()
The fraction of the input data that is to be used to evaluate the Model.
|
ExportFractionSplit.Builder |
clearTrainingFraction()
The fraction of the input data that is to be used to train the Model.
|
ExportFractionSplit.Builder |
clearValidationFraction()
The fraction of the input data that is to be used to validate the Model.
|
ExportFractionSplit.Builder |
clone() |
ExportFractionSplit |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
double |
getTestFraction()
The fraction of the input data that is to be used to evaluate the Model.
|
double |
getTrainingFraction()
The fraction of the input data that is to be used to train the Model.
|
double |
getValidationFraction()
The fraction of the input data that is to be used to validate the Model.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
ExportFractionSplit.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
ExportFractionSplit.Builder |
mergeFrom(ExportFractionSplit other) |
ExportFractionSplit.Builder |
mergeFrom(com.google.protobuf.Message other) |
ExportFractionSplit.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
ExportFractionSplit.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
ExportFractionSplit.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
ExportFractionSplit.Builder |
setTestFraction(double value)
The fraction of the input data that is to be used to evaluate the Model.
|
ExportFractionSplit.Builder |
setTrainingFraction(double value)
The fraction of the input data that is to be used to train the Model.
|
ExportFractionSplit.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
ExportFractionSplit.Builder |
setValidationFraction(double value)
The fraction of the input data that is to be used to validate the Model.
|
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<ExportFractionSplit.Builder>public ExportFractionSplit.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<ExportFractionSplit.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<ExportFractionSplit.Builder>public ExportFractionSplit getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic ExportFractionSplit build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic ExportFractionSplit buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic ExportFractionSplit.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<ExportFractionSplit.Builder>public ExportFractionSplit.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<ExportFractionSplit.Builder>public ExportFractionSplit.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<ExportFractionSplit.Builder>public ExportFractionSplit.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<ExportFractionSplit.Builder>public ExportFractionSplit.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ExportFractionSplit.Builder>public ExportFractionSplit.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ExportFractionSplit.Builder>public ExportFractionSplit.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<ExportFractionSplit.Builder>public ExportFractionSplit.Builder mergeFrom(ExportFractionSplit other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<ExportFractionSplit.Builder>public ExportFractionSplit.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<ExportFractionSplit.Builder>IOExceptionpublic double getTrainingFraction()
The fraction of the input data that is to be used to train the Model.
double training_fraction = 1;getTrainingFraction in interface ExportFractionSplitOrBuilderpublic ExportFractionSplit.Builder setTrainingFraction(double value)
The fraction of the input data that is to be used to train the Model.
double training_fraction = 1;value - The trainingFraction to set.public ExportFractionSplit.Builder clearTrainingFraction()
The fraction of the input data that is to be used to train the Model.
double training_fraction = 1;public double getValidationFraction()
The fraction of the input data that is to be used to validate the Model.
double validation_fraction = 2;getValidationFraction in interface ExportFractionSplitOrBuilderpublic ExportFractionSplit.Builder setValidationFraction(double value)
The fraction of the input data that is to be used to validate the Model.
double validation_fraction = 2;value - The validationFraction to set.public ExportFractionSplit.Builder clearValidationFraction()
The fraction of the input data that is to be used to validate the Model.
double validation_fraction = 2;public double getTestFraction()
The fraction of the input data that is to be used to evaluate the Model.
double test_fraction = 3;getTestFraction in interface ExportFractionSplitOrBuilderpublic ExportFractionSplit.Builder setTestFraction(double value)
The fraction of the input data that is to be used to evaluate the Model.
double test_fraction = 3;value - The testFraction to set.public ExportFractionSplit.Builder clearTestFraction()
The fraction of the input data that is to be used to evaluate the Model.
double test_fraction = 3;public final ExportFractionSplit.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ExportFractionSplit.Builder>public final ExportFractionSplit.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ExportFractionSplit.Builder>Copyright © 2025 Google LLC. All rights reserved.