Skip to content

HyperParameterTuningJobObjective

Source code in docs_src/capo_sagemaker/types/hyper_parameter_tuning_job_objective.py
class HyperParameterTuningJobObjective(TypedDict, closed=True):
    type: NotRequired[
        "capo_sagemaker.types.hyper_parameter_tuning_job_objective_type.HyperParameterTuningJobObjectiveType"
    ]
    """<p>Whether to minimize or maximize the objective metric.</p>"""
    metric_name: NotRequired["capo_sagemaker.types.metric_name.MetricName"]
    """<p>The name of the metric to use for the objective metric.</p>"""

metric_name instance-attribute

metric_name: NotRequired[MetricName]

The name of the metric to use for the objective metric.

type instance-attribute

Whether to minimize or maximize the objective metric.