/* * 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 { /// /// Specifies ranges of integer, continuous, and categorical hyperparameters that a hyperparameter /// tuning job searches. The hyperparameter tuning job launches training jobs with hyperparameter /// values within these ranges to find the combination of values that result in the training /// job with the best performance as measured by the objective metric of the hyperparameter /// tuning job. /// /// /// /// The maximum number of items specified for Array Members refers to the /// maximum number of hyperparameters for each range and also the maximum for the hyperparameter /// tuning job itself. That is, the sum of the number of hyperparameters for all the ranges /// can't exceed the maximum number specified. /// /// /// public partial class ParameterRanges { private List _autoParameters = new List(); private List _categoricalParameterRanges = new List(); private List _continuousParameterRanges = new List(); private List _integerParameterRanges = new List(); /// /// Gets and sets the property AutoParameters. /// /// A list containing hyperparameter names and example values to be used by Autotune to /// determine optimal ranges for your tuning job. /// /// [AWSProperty(Min=0, Max=100)] public List AutoParameters { get { return this._autoParameters; } set { this._autoParameters = value; } } // Check to see if AutoParameters property is set internal bool IsSetAutoParameters() { return this._autoParameters != null && this._autoParameters.Count > 0; } /// /// Gets and sets the property CategoricalParameterRanges. /// /// The array of CategoricalParameterRange /// objects that specify ranges of categorical hyperparameters that a hyperparameter tuning /// job searches. /// /// [AWSProperty(Min=0, Max=30)] public List CategoricalParameterRanges { get { return this._categoricalParameterRanges; } set { this._categoricalParameterRanges = value; } } // Check to see if CategoricalParameterRanges property is set internal bool IsSetCategoricalParameterRanges() { return this._categoricalParameterRanges != null && this._categoricalParameterRanges.Count > 0; } /// /// Gets and sets the property ContinuousParameterRanges. /// /// The array of ContinuousParameterRange /// objects that specify ranges of continuous hyperparameters that a hyperparameter tuning /// job searches. /// /// [AWSProperty(Min=0, Max=30)] public List ContinuousParameterRanges { get { return this._continuousParameterRanges; } set { this._continuousParameterRanges = value; } } // Check to see if ContinuousParameterRanges property is set internal bool IsSetContinuousParameterRanges() { return this._continuousParameterRanges != null && this._continuousParameterRanges.Count > 0; } /// /// Gets and sets the property IntegerParameterRanges. /// /// The array of IntegerParameterRange /// objects that specify ranges of integer hyperparameters that a hyperparameter tuning /// job searches. /// /// [AWSProperty(Min=0, Max=30)] public List IntegerParameterRanges { get { return this._integerParameterRanges; } set { this._integerParameterRanges = value; } } // Check to see if IntegerParameterRanges property is set internal bool IsSetIntegerParameterRanges() { return this._integerParameterRanges != null && this._integerParameterRanges.Count > 0; } } }