/* * 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 { /// /// The container for the summary information about a training job. /// public partial class HyperParameterTrainingJobSummary { private DateTime? _creationTime; private string _failureReason; private FinalHyperParameterTuningJobObjectiveMetric _finalHyperParameterTuningJobObjectiveMetric; private ObjectiveStatus _objectiveStatus; private DateTime? _trainingEndTime; private string _trainingJobArn; private string _trainingJobDefinitionName; private string _trainingJobName; private TrainingJobStatus _trainingJobStatus; private DateTime? _trainingStartTime; private Dictionary _tunedHyperParameters = new Dictionary(); private string _tuningJobName; /// /// Gets and sets the property CreationTime. /// /// The date and time that the training job was created. /// /// [AWSProperty(Required=true)] public DateTime CreationTime { get { return this._creationTime.GetValueOrDefault(); } set { this._creationTime = value; } } // Check to see if CreationTime property is set internal bool IsSetCreationTime() { return this._creationTime.HasValue; } /// /// Gets and sets the property FailureReason. /// /// The reason that the training job failed. /// /// [AWSProperty(Max=1024)] public string FailureReason { get { return this._failureReason; } set { this._failureReason = value; } } // Check to see if FailureReason property is set internal bool IsSetFailureReason() { return this._failureReason != null; } /// /// Gets and sets the property FinalHyperParameterTuningJobObjectiveMetric. /// /// The FinalHyperParameterTuningJobObjectiveMetric /// object that specifies the value of the objective metric of the tuning job that launched /// this training job. /// /// public FinalHyperParameterTuningJobObjectiveMetric FinalHyperParameterTuningJobObjectiveMetric { get { return this._finalHyperParameterTuningJobObjectiveMetric; } set { this._finalHyperParameterTuningJobObjectiveMetric = value; } } // Check to see if FinalHyperParameterTuningJobObjectiveMetric property is set internal bool IsSetFinalHyperParameterTuningJobObjectiveMetric() { return this._finalHyperParameterTuningJobObjectiveMetric != null; } /// /// Gets and sets the property ObjectiveStatus. /// /// The status of the objective metric for the training job: /// ///
  • /// /// Succeeded: The final objective metric for the training job was evaluated by the hyperparameter /// tuning job and used in the hyperparameter tuning process. /// ///
  • /// /// Pending: The training job is in progress and evaluation of its final objective metric /// is pending. /// ///
  • /// /// Failed: The final objective metric for the training job was not evaluated, and was /// not used in the hyperparameter tuning process. This typically occurs when the training /// job failed or did not emit an objective metric. /// ///
///
public ObjectiveStatus ObjectiveStatus { get { return this._objectiveStatus; } set { this._objectiveStatus = value; } } // Check to see if ObjectiveStatus property is set internal bool IsSetObjectiveStatus() { return this._objectiveStatus != null; } /// /// Gets and sets the property TrainingEndTime. /// /// Specifies the time when the training job ends on training instances. You are billed /// for the time interval between the value of TrainingStartTime and this /// time. For successful jobs and stopped jobs, this is the time after model artifacts /// are uploaded. For failed jobs, this is the time when SageMaker detects a job failure. /// /// public DateTime TrainingEndTime { get { return this._trainingEndTime.GetValueOrDefault(); } set { this._trainingEndTime = value; } } // Check to see if TrainingEndTime property is set internal bool IsSetTrainingEndTime() { return this._trainingEndTime.HasValue; } /// /// Gets and sets the property TrainingJobArn. /// /// The Amazon Resource Name (ARN) of the training job. /// /// [AWSProperty(Required=true, Max=256)] public string TrainingJobArn { get { return this._trainingJobArn; } set { this._trainingJobArn = value; } } // Check to see if TrainingJobArn property is set internal bool IsSetTrainingJobArn() { return this._trainingJobArn != null; } /// /// Gets and sets the property TrainingJobDefinitionName. /// /// The training job definition name. /// /// [AWSProperty(Min=1, Max=64)] public string TrainingJobDefinitionName { get { return this._trainingJobDefinitionName; } set { this._trainingJobDefinitionName = value; } } // Check to see if TrainingJobDefinitionName property is set internal bool IsSetTrainingJobDefinitionName() { return this._trainingJobDefinitionName != null; } /// /// Gets and sets the property TrainingJobName. /// /// The name of the training job. /// /// [AWSProperty(Required=true, Min=1, Max=63)] public string TrainingJobName { get { return this._trainingJobName; } set { this._trainingJobName = value; } } // Check to see if TrainingJobName property is set internal bool IsSetTrainingJobName() { return this._trainingJobName != null; } /// /// Gets and sets the property TrainingJobStatus. /// /// The status of the training job. /// /// [AWSProperty(Required=true)] public TrainingJobStatus TrainingJobStatus { get { return this._trainingJobStatus; } set { this._trainingJobStatus = value; } } // Check to see if TrainingJobStatus property is set internal bool IsSetTrainingJobStatus() { return this._trainingJobStatus != null; } /// /// Gets and sets the property TrainingStartTime. /// /// The date and time that the training job started. /// /// public DateTime TrainingStartTime { get { return this._trainingStartTime.GetValueOrDefault(); } set { this._trainingStartTime = value; } } // Check to see if TrainingStartTime property is set internal bool IsSetTrainingStartTime() { return this._trainingStartTime.HasValue; } /// /// Gets and sets the property TunedHyperParameters. /// /// A list of the hyperparameters for which you specified ranges to search. /// /// [AWSProperty(Required=true, Min=0, Max=100)] public Dictionary TunedHyperParameters { get { return this._tunedHyperParameters; } set { this._tunedHyperParameters = value; } } // Check to see if TunedHyperParameters property is set internal bool IsSetTunedHyperParameters() { return this._tunedHyperParameters != null && this._tunedHyperParameters.Count > 0; } /// /// Gets and sets the property TuningJobName. /// /// The HyperParameter tuning job that launched the training job. /// /// [AWSProperty(Min=1, Max=32)] public string TuningJobName { get { return this._tuningJobName; } set { this._tuningJobName = value; } } // Check to see if TuningJobName property is set internal bool IsSetTuningJobName() { return this._tuningJobName != null; } } }