Interface StratifiedSplitOrBuilder

  • All Superinterfaces:
    com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
    All Known Implementing Classes:
    StratifiedSplit, StratifiedSplit.Builder

    public interface StratifiedSplitOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      String getKey()
      Required.
      com.google.protobuf.ByteString getKeyBytes()
      Required.
      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.
      • Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

        isInitialized
      • Methods inherited from interface com.google.protobuf.MessageOrBuilder

        findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
    • Method Detail

      • getTrainingFraction

        double getTrainingFraction()
         The fraction of the input data that is to be used to train the Model.
         
        double training_fraction = 1;
        Returns:
        The trainingFraction.
      • getValidationFraction

        double getValidationFraction()
         The fraction of the input data that is to be used to validate the Model.
         
        double validation_fraction = 2;
        Returns:
        The validationFraction.
      • getTestFraction

        double getTestFraction()
         The fraction of the input data that is to be used to evaluate the Model.
         
        double test_fraction = 3;
        Returns:
        The testFraction.
      • getKey

        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:
        The key.
      • getKeyBytes

        com.google.protobuf.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:
        The bytes for key.