FractionSplit class final
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.
- Inheritance
-
- Object
- ProtoMessage
- FractionSplit
Constructors
- FractionSplit({double trainingFraction = 0, double validationFraction = 0, double testFraction = 0})
-
FractionSplit.fromJson(Map<
String, dynamic> json) -
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- qualifiedName → String
-
The fully qualified name of this message, i.e.,
google.protobuf.Durationorgoogle.rpc.ErrorInfo.finalinherited - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- testFraction → double
-
The fraction of the input data that is to be used to evaluate the Model.
final
- trainingFraction → double
-
The fraction of the input data that is to be used to train the Model.
final
- validationFraction → double
-
The fraction of the input data that is to be used to validate the Model.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Object -
override
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
- fullyQualifiedName → const String