Interface StratifiedSplitOrBuilder (3.53.0)

public interface StratifiedSplitOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getKey()

public abstract String getKey()

Required. The key is a name of one of the Dataset's data columns. The key provided must be for a categorical column.

string key = 4 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The key.

getKeyBytes()

public abstract ByteString getKeyBytes()

Required. The key is a name of one of the Dataset's data columns. The key provided must be for a categorical column.

string key = 4 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for key.

getTestFraction()

public abstract double getTestFraction()

The fraction of the input data that is to be used to evaluate the Model.

double test_fraction = 3;

Returns
Type Description
double

The testFraction.

getTrainingFraction()

public abstract double getTrainingFraction()

The fraction of the input data that is to be used to train the Model.

double training_fraction = 1;

Returns
Type Description
double

The trainingFraction.

getValidationFraction()

public abstract double getValidationFraction()

The fraction of the input data that is to be used to validate the Model.

double validation_fraction = 2;

Returns
Type Description
double

The validationFraction.