Vertex AI V1 API - Class Google::Cloud::AIPlatform::V1::FractionSplit (v0.4.0)

Stay organized with collections Save and categorize content based on your preferences.

Reference documentation and code samples for the Vertex AI V1 API class Google::Cloud::AIPlatform::V1::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.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#test_fraction

def test_fraction() -> ::Float
Returns
  • (::Float) — The fraction of the input data that is to be used to evaluate the Model.

#test_fraction=

def test_fraction=(value) -> ::Float
Parameter
  • value (::Float) — The fraction of the input data that is to be used to evaluate the Model.
Returns
  • (::Float) — The fraction of the input data that is to be used to evaluate the Model.

#training_fraction

def training_fraction() -> ::Float
Returns
  • (::Float) — The fraction of the input data that is to be used to train the Model.

#training_fraction=

def training_fraction=(value) -> ::Float
Parameter
  • value (::Float) — The fraction of the input data that is to be used to train the Model.
Returns
  • (::Float) — The fraction of the input data that is to be used to train the Model.

#validation_fraction

def validation_fraction() -> ::Float
Returns
  • (::Float) — The fraction of the input data that is to be used to validate the Model.

#validation_fraction=

def validation_fraction=(value) -> ::Float
Parameter
  • value (::Float) — The fraction of the input data that is to be used to validate the Model.
Returns
  • (::Float) — The fraction of the input data that is to be used to validate the Model.