Class StudySpec.ConvexStopConfig

    • Field Detail

      • MAX_NUM_STEPS_FIELD_NUMBER

        public static final int MAX_NUM_STEPS_FIELD_NUMBER
        Deprecated.
        See Also:
        Constant Field Values
      • MIN_NUM_STEPS_FIELD_NUMBER

        public static final int MIN_NUM_STEPS_FIELD_NUMBER
        Deprecated.
        See Also:
        Constant Field Values
      • AUTOREGRESSIVE_ORDER_FIELD_NUMBER

        public static final int AUTOREGRESSIVE_ORDER_FIELD_NUMBER
        Deprecated.
        See Also:
        Constant Field Values
      • LEARNING_RATE_PARAMETER_NAME_FIELD_NUMBER

        public static final int LEARNING_RATE_PARAMETER_NAME_FIELD_NUMBER
        Deprecated.
        See Also:
        Constant Field Values
      • USE_SECONDS_FIELD_NUMBER

        public static final int USE_SECONDS_FIELD_NUMBER
        Deprecated.
        See Also:
        Constant Field Values
    • Method Detail

      • newInstance

        protected Object newInstance​(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
        Deprecated.
        Overrides:
        newInstance in class com.google.protobuf.GeneratedMessageV3
      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
        Deprecated.
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Deprecated.
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3
      • getMaxNumSteps

        public long getMaxNumSteps()
        Deprecated.
         Steps used in predicting the final objective for early stopped trials. In
         general, it's set to be the same as the defined steps in training /
         tuning. When use_steps is false, this field is set to the maximum elapsed
         seconds.
         
        int64 max_num_steps = 1;
        Specified by:
        getMaxNumSteps in interface StudySpec.ConvexStopConfigOrBuilder
        Returns:
        The maxNumSteps.
      • getMinNumSteps

        public long getMinNumSteps()
        Deprecated.
         Minimum number of steps for a trial to complete. Trials which do not have
         a measurement with num_steps > min_num_steps won't be considered for
         early stopping. It's ok to set it to 0, and a trial can be early stopped
         at any stage. By default, min_num_steps is set to be one-tenth of the
         max_num_steps.
         When use_steps is false, this field is set to the minimum elapsed
         seconds.
         
        int64 min_num_steps = 2;
        Specified by:
        getMinNumSteps in interface StudySpec.ConvexStopConfigOrBuilder
        Returns:
        The minNumSteps.
      • getAutoregressiveOrder

        public long getAutoregressiveOrder()
        Deprecated.
         The number of Trial measurements used in autoregressive model for
         value prediction. A trial won't be considered early stopping if has fewer
         measurement points.
         
        int64 autoregressive_order = 3;
        Specified by:
        getAutoregressiveOrder in interface StudySpec.ConvexStopConfigOrBuilder
        Returns:
        The autoregressiveOrder.
      • getLearningRateParameterName

        public String getLearningRateParameterName()
        Deprecated.
         The hyper-parameter name used in the tuning job that stands for learning
         rate. Leave it blank if learning rate is not in a parameter in tuning.
         The learning_rate is used to estimate the objective value of the ongoing
         trial.
         
        string learning_rate_parameter_name = 4;
        Specified by:
        getLearningRateParameterName in interface StudySpec.ConvexStopConfigOrBuilder
        Returns:
        The learningRateParameterName.
      • getLearningRateParameterNameBytes

        public com.google.protobuf.ByteString getLearningRateParameterNameBytes()
        Deprecated.
         The hyper-parameter name used in the tuning job that stands for learning
         rate. Leave it blank if learning rate is not in a parameter in tuning.
         The learning_rate is used to estimate the objective value of the ongoing
         trial.
         
        string learning_rate_parameter_name = 4;
        Specified by:
        getLearningRateParameterNameBytes in interface StudySpec.ConvexStopConfigOrBuilder
        Returns:
        The bytes for learningRateParameterName.
      • getUseSeconds

        public boolean getUseSeconds()
        Deprecated.
         This bool determines whether or not the rule is applied based on
         elapsed_secs or steps. If use_seconds==false, the early stopping decision
         is made according to the predicted objective values according to the
         target steps. If use_seconds==true, elapsed_secs is used instead of
         steps. Also, in this case, the parameters max_num_steps and min_num_steps
         are overloaded to contain max_elapsed_seconds and min_elapsed_seconds.
         
        bool use_seconds = 5;
        Specified by:
        getUseSeconds in interface StudySpec.ConvexStopConfigOrBuilder
        Returns:
        The useSeconds.
      • isInitialized

        public final boolean isInitialized()
        Deprecated.
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3
      • writeTo

        public void writeTo​(com.google.protobuf.CodedOutputStream output)
                     throws IOException
        Deprecated.
        Specified by:
        writeTo in interface com.google.protobuf.MessageLite
        Overrides:
        writeTo in class com.google.protobuf.GeneratedMessageV3
        Throws:
        IOException
      • getSerializedSize

        public int getSerializedSize()
        Deprecated.
        Specified by:
        getSerializedSize in interface com.google.protobuf.MessageLite
        Overrides:
        getSerializedSize in class com.google.protobuf.GeneratedMessageV3
      • equals

        public boolean equals​(Object obj)
        Deprecated.
        Specified by:
        equals in interface com.google.protobuf.Message
        Overrides:
        equals in class com.google.protobuf.AbstractMessage
      • hashCode

        public int hashCode()
        Deprecated.
        Specified by:
        hashCode in interface com.google.protobuf.Message
        Overrides:
        hashCode in class com.google.protobuf.AbstractMessage
      • parseFrom

        public static StudySpec.ConvexStopConfig parseFrom​(ByteBuffer data)
                                                    throws com.google.protobuf.InvalidProtocolBufferException
        Deprecated.
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static StudySpec.ConvexStopConfig parseFrom​(ByteBuffer data,
                                                           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                    throws com.google.protobuf.InvalidProtocolBufferException
        Deprecated.
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static StudySpec.ConvexStopConfig parseFrom​(com.google.protobuf.ByteString data)
                                                    throws com.google.protobuf.InvalidProtocolBufferException
        Deprecated.
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static StudySpec.ConvexStopConfig parseFrom​(com.google.protobuf.ByteString data,
                                                           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                    throws com.google.protobuf.InvalidProtocolBufferException
        Deprecated.
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static StudySpec.ConvexStopConfig parseFrom​(byte[] data)
                                                    throws com.google.protobuf.InvalidProtocolBufferException
        Deprecated.
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static StudySpec.ConvexStopConfig parseFrom​(byte[] data,
                                                           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                    throws com.google.protobuf.InvalidProtocolBufferException
        Deprecated.
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • newBuilderForType

        public StudySpec.ConvexStopConfig.Builder newBuilderForType()
        Deprecated.
        Specified by:
        newBuilderForType in interface com.google.protobuf.Message
        Specified by:
        newBuilderForType in interface com.google.protobuf.MessageLite
      • toBuilder

        public StudySpec.ConvexStopConfig.Builder toBuilder()
        Deprecated.
        Specified by:
        toBuilder in interface com.google.protobuf.Message
        Specified by:
        toBuilder in interface com.google.protobuf.MessageLite
      • newBuilderForType

        protected StudySpec.ConvexStopConfig.Builder newBuilderForType​(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
        Deprecated.
        Specified by:
        newBuilderForType in class com.google.protobuf.GeneratedMessageV3
      • getParserForType

        public com.google.protobuf.Parser<StudySpec.ConvexStopConfig> getParserForType()
        Deprecated.
        Specified by:
        getParserForType in interface com.google.protobuf.Message
        Specified by:
        getParserForType in interface com.google.protobuf.MessageLite
        Overrides:
        getParserForType in class com.google.protobuf.GeneratedMessageV3
      • getDefaultInstanceForType

        public StudySpec.ConvexStopConfig getDefaultInstanceForType()
        Deprecated.
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder