JavaScript is disabled on your browser.
Skip navigation links

AWS SDK for Java 1.x API Reference - 1.12.795

We announced the upcoming end-of-support for AWS SDK for Java (v1). We recommend that you migrate to AWS SDK for Java v2. For dates, additional details, and information on how to migrate, please refer to the linked announcement.
com.amazonaws.services.sagemaker.model

Class FinalHyperParameterTuningJobObjectiveMetric

    • Constructor Detail

      • FinalHyperParameterTuningJobObjectiveMetric

        public FinalHyperParameterTuningJobObjectiveMetric()
    • Method Detail

      • setType

        public void setType(String type)

        Select if you want to minimize or maximize the objective metric during hyperparameter tuning.

        Parameters:
        type - Select if you want to minimize or maximize the objective metric during hyperparameter tuning.
        See Also:
        HyperParameterTuningJobObjectiveType
      • getType

        public String getType()

        Select if you want to minimize or maximize the objective metric during hyperparameter tuning.

        Returns:
        Select if you want to minimize or maximize the objective metric during hyperparameter tuning.
        See Also:
        HyperParameterTuningJobObjectiveType
      • withType

        public FinalHyperParameterTuningJobObjectiveMetric withType(String type)

        Select if you want to minimize or maximize the objective metric during hyperparameter tuning.

        Parameters:
        type - Select if you want to minimize or maximize the objective metric during hyperparameter tuning.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        HyperParameterTuningJobObjectiveType
      • setMetricName

        public void setMetricName(String metricName)

        The name of the objective metric. For SageMaker built-in algorithms, metrics are defined per algorithm. See the metrics for XGBoost as an example. You can also use a custom algorithm for training and define your own metrics. For more information, see Define metrics and environment variables.

        Parameters:
        metricName - The name of the objective metric. For SageMaker built-in algorithms, metrics are defined per algorithm. See the metrics for XGBoost as an example. You can also use a custom algorithm for training and define your own metrics. For more information, see Define metrics and environment variables.
      • getMetricName

        public String getMetricName()

        The name of the objective metric. For SageMaker built-in algorithms, metrics are defined per algorithm. See the metrics for XGBoost as an example. You can also use a custom algorithm for training and define your own metrics. For more information, see Define metrics and environment variables.

        Returns:
        The name of the objective metric. For SageMaker built-in algorithms, metrics are defined per algorithm. See the metrics for XGBoost as an example. You can also use a custom algorithm for training and define your own metrics. For more information, see Define metrics and environment variables.
      • setValue

        public void setValue(Float value)

        The value of the objective metric.

        Parameters:
        value - The value of the objective metric.
      • getValue

        public Float getValue()

        The value of the objective metric.

        Returns:
        The value of the objective metric.
      • withValue

        public FinalHyperParameterTuningJobObjectiveMetric withValue(Float value)

        The value of the objective metric.

        Parameters:
        value - The value of the objective metric.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • toString

        public String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object
        Returns:
        A string representation of this object.
        See Also:
        Object.toString()
Skip navigation links

AltStyle によって変換されたページ (->オリジナル) /