/* * 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 { /// /// Information about the metric for a candidate produced by an AutoML job. /// public partial class MetricDatum { private AutoMLMetricEnum _metricName; private MetricSetSource _set; private AutoMLMetricExtendedEnum _standardMetricName; private float? _value; /// /// Gets and sets the property MetricName. /// /// The name of the metric. /// /// public AutoMLMetricEnum MetricName { get { return this._metricName; } set { this._metricName = value; } } // Check to see if MetricName property is set internal bool IsSetMetricName() { return this._metricName != null; } /// /// Gets and sets the property Set. /// /// The dataset split from which the AutoML job produced the metric. /// /// public MetricSetSource Set { get { return this._set; } set { this._set = value; } } // Check to see if Set property is set internal bool IsSetSet() { return this._set != null; } /// /// Gets and sets the property StandardMetricName. /// /// The name of the standard metric. /// /// /// /// For definitions of the standard metrics, see /// Autopilot candidate metrics . /// /// /// public AutoMLMetricExtendedEnum StandardMetricName { get { return this._standardMetricName; } set { this._standardMetricName = value; } } // Check to see if StandardMetricName property is set internal bool IsSetStandardMetricName() { return this._standardMetricName != null; } /// /// Gets and sets the property Value. /// /// The value of the metric. /// /// public float Value { get { return this._value.GetValueOrDefault(); } set { this._value = value; } } // Check to see if Value property is set internal bool IsSetValue() { return this._value.HasValue; } } }