/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the sagemaker-2017-07-24.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.SageMaker.Model { /// <summary> /// A flag to indicate if you want to use Autotune to automatically find optimal values /// for the following fields: /// /// <ul> <li> /// <para> /// <a href="https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_HyperParameterTuningJobConfig.html#sagemaker-Type-HyperParameterTuningJobConfig-ParameterRanges">ParameterRanges</a>: /// The names and ranges of parameters that a hyperparameter tuning job can optimize. /// </para> /// </li> <li> /// <para> /// <a href="https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_ResourceLimits.html">ResourceLimits</a>: /// The maximum resources that can be used for a training job. These resources include /// the maximum number of training jobs, the maximum runtime of a tuning job, and the /// maximum number of training jobs to run at the same time. /// </para> /// </li> <li> /// <para> /// <a href="https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_HyperParameterTuningJobConfig.html#sagemaker-Type-HyperParameterTuningJobConfig-TrainingJobEarlyStoppingType">TrainingJobEarlyStoppingType</a>: /// A flag that specifies whether or not to use early stopping for training jobs launched /// by a hyperparameter tuning job. /// </para> /// </li> <li> /// <para> /// <a href="https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_HyperParameterTrainingJobDefinition.html#sagemaker-Type-HyperParameterTrainingJobDefinition-RetryStrategy">RetryStrategy</a>: /// The number of times to retry a training job. /// </para> /// </li> <li> /// <para> /// <a href="https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_HyperParameterTuningJobConfig.html">Strategy</a>: /// Specifies how hyperparameter tuning chooses the combinations of hyperparameter values /// to use for the training jobs that it launches. /// </para> /// </li> <li> /// <para> /// <a href="https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_ConvergenceDetected.html">ConvergenceDetected</a>: /// A flag to indicate that Automatic model tuning (AMT) has detected model convergence. /// </para> /// </li> </ul> /// </summary> public partial class Autotune { private AutotuneMode _mode; /// <summary> /// Gets and sets the property Mode. /// <para> /// Set <code>Mode</code> to <code>Enabled</code> if you want to use Autotune. /// </para> /// </summary> [AWSProperty(Required=true)] public AutotuneMode Mode { get { return this._mode; } set { this._mode = value; } } // Check to see if Mode property is set internal bool IsSetMode() { return this._mode != null; } } }