/* * 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 glue-2017-03-31.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.Glue.Model { /// /// The parameters to configure the find matches transform. /// public partial class FindMatchesParameters { private double? _accuracyCostTradeoff; private bool? _enforceProvidedLabels; private double? _precisionRecallTradeoff; private string _primaryKeyColumnName; /// /// Gets and sets the property AccuracyCostTradeoff. /// /// The value that is selected when tuning your transform for a balance between accuracy /// and cost. A value of 0.5 means that the system balances accuracy and cost concerns. /// A value of 1.0 means a bias purely for accuracy, which typically results in a higher /// cost, sometimes substantially higher. A value of 0.0 means a bias purely for cost, /// which results in a less accurate FindMatches transform, sometimes with /// unacceptable accuracy. /// /// /// /// Accuracy measures how well the transform finds true positives and true negatives. /// Increasing accuracy requires more machine resources and cost. But it also results /// in increased recall. /// /// /// /// Cost measures how many compute resources, and thus money, are consumed to run the /// transform. /// /// [AWSProperty(Min=0, Max=1)] public double AccuracyCostTradeoff { get { return this._accuracyCostTradeoff.GetValueOrDefault(); } set { this._accuracyCostTradeoff = value; } } // Check to see if AccuracyCostTradeoff property is set internal bool IsSetAccuracyCostTradeoff() { return this._accuracyCostTradeoff.HasValue; } /// /// Gets and sets the property EnforceProvidedLabels. /// /// The value to switch on or off to force the output to match the provided labels from /// users. If the value is True, the find matches transform /// forces the output to match the provided labels. The results override the normal conflation /// results. If the value is False, the find matches transform /// does not ensure all the labels provided are respected, and the results rely on the /// trained model. /// /// /// /// Note that setting this value to true may increase the conflation execution time. /// /// public bool EnforceProvidedLabels { get { return this._enforceProvidedLabels.GetValueOrDefault(); } set { this._enforceProvidedLabels = value; } } // Check to see if EnforceProvidedLabels property is set internal bool IsSetEnforceProvidedLabels() { return this._enforceProvidedLabels.HasValue; } /// /// Gets and sets the property PrecisionRecallTradeoff. /// /// The value selected when tuning your transform for a balance between precision and /// recall. A value of 0.5 means no preference; a value of 1.0 means a bias purely for /// precision, and a value of 0.0 means a bias for recall. Because this is a tradeoff, /// choosing values close to 1.0 means very low recall, and choosing values close to 0.0 /// results in very low precision. /// /// /// /// The precision metric indicates how often your model is correct when it predicts a /// match. /// /// /// /// The recall metric indicates that for an actual match, how often your model predicts /// the match. /// /// [AWSProperty(Min=0, Max=1)] public double PrecisionRecallTradeoff { get { return this._precisionRecallTradeoff.GetValueOrDefault(); } set { this._precisionRecallTradeoff = value; } } // Check to see if PrecisionRecallTradeoff property is set internal bool IsSetPrecisionRecallTradeoff() { return this._precisionRecallTradeoff.HasValue; } /// /// Gets and sets the property PrimaryKeyColumnName. /// /// The name of a column that uniquely identifies rows in the source table. Used to help /// identify matching records. /// /// [AWSProperty(Min=1, Max=1024)] public string PrimaryKeyColumnName { get { return this._primaryKeyColumnName; } set { this._primaryKeyColumnName = value; } } // Check to see if PrimaryKeyColumnName property is set internal bool IsSetPrimaryKeyColumnName() { return this._primaryKeyColumnName != null; } } }