/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Configuration information for a hyperparameter tuning job. You specify this
* object in the CreatePredictor request. A hyperparameter is
* a parameter that governs the model training process. You set hyperparameters
* before training starts, unlike model parameters, which are determined during
* training. The values of the hyperparameters effect which values are chosen for
* the model parameters. In a hyperparameter tuning job, Amazon
* Forecast chooses the set of hyperparameter values that optimize a specified
* metric. Forecast accomplishes this by running many training jobs over a range of
* hyperparameter values. The optimum set of values depends on the algorithm, the
* training data, and the specified metric objective.See Also:
AWS
* API Reference
Specifies the ranges of valid values for the hyperparameters.
*/ inline const ParameterRanges& GetParameterRanges() const{ return m_parameterRanges; } /** *Specifies the ranges of valid values for the hyperparameters.
*/ inline bool ParameterRangesHasBeenSet() const { return m_parameterRangesHasBeenSet; } /** *Specifies the ranges of valid values for the hyperparameters.
*/ inline void SetParameterRanges(const ParameterRanges& value) { m_parameterRangesHasBeenSet = true; m_parameterRanges = value; } /** *Specifies the ranges of valid values for the hyperparameters.
*/ inline void SetParameterRanges(ParameterRanges&& value) { m_parameterRangesHasBeenSet = true; m_parameterRanges = std::move(value); } /** *Specifies the ranges of valid values for the hyperparameters.
*/ inline HyperParameterTuningJobConfig& WithParameterRanges(const ParameterRanges& value) { SetParameterRanges(value); return *this;} /** *Specifies the ranges of valid values for the hyperparameters.
*/ inline HyperParameterTuningJobConfig& WithParameterRanges(ParameterRanges&& value) { SetParameterRanges(std::move(value)); return *this;} private: ParameterRanges m_parameterRanges; bool m_parameterRangesHasBeenSet = false; }; } // namespace Model } // namespace ForecastService } // namespace Aws