Skip to content
v2.277.0

FindMatchesParametersProperty Struct ​

The parameters to configure the find matches transform.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_glue as glue } from 'aws-cdk-lib';
const findMatchesParametersProperty: glue.CfnMLTransform.FindMatchesParametersProperty = {
  primaryKeyColumnName: 'primaryKeyColumnName',

  // the properties below are optional
  accuracyCostTradeoff: 123,
  enforceProvidedLabels: false,
  precisionRecallTradeoff: 123,
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_glue as glue

find_matches_parameters_property = glue.CfnMLTransform.FindMatchesParametersProperty(
    primary_key_column_name="primaryKeyColumnName",

    # the properties below are optional
    accuracy_cost_tradeoff=123,
    enforce_provided_labels=False,
    precision_recall_tradeoff=123
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.glue.*;

FindMatchesParametersProperty findMatchesParametersProperty = FindMatchesParametersProperty.builder()
        .primaryKeyColumnName("primaryKeyColumnName")

        // the properties below are optional
        .accuracyCostTradeoff(123)
        .enforceProvidedLabels(false)
        .precisionRecallTradeoff(123)
        .build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Glue;

var findMatchesParametersProperty = new FindMatchesParametersProperty {
    PrimaryKeyColumnName = "primaryKeyColumnName",

    // the properties below are optional
    AccuracyCostTradeoff = 123,
    EnforceProvidedLabels = false,
    PrecisionRecallTradeoff = 123
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

findMatchesParametersProperty := &FindMatchesParametersProperty{
	PrimaryKeyColumnName: jsii.String("primaryKeyColumnName"),

	// the properties below are optional
	AccuracyCostTradeoff: jsii.Number(123),
	EnforceProvidedLabels: jsii.Boolean(false),
	PrecisionRecallTradeoff: jsii.Number(123),
}

Properties ​

accuracyCostTradeoffoptionalnumberaccuracy_cost_tradeoffoptionalint | floataccuracyCostTradeoffoptionalNumberAccuracyCostTradeoffoptionaldoubleAccuracyCostTradeoffoptional*float64 #
The value that is selected when tuning your transform for a balance between accuracy and cost.
notes

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.

enforceProvidedLabelsoptionalboolean | IResolvableenforce_provided_labelsoptionaltyping.Union[bool, IResolvable]enforceProvidedLabelsoptionalBooleanEnforceProvidedLabelsoptionalboolEnforceProvidedLabelsoptionalinterface{} #
The value to switch on or off to force the output to match the provided labels from users.
notes

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.

precisionRecallTradeoffoptionalnumberprecision_recall_tradeoffoptionalint | floatprecisionRecallTradeoffoptionalNumberPrecisionRecallTradeoffoptionaldoublePrecisionRecallTradeoffoptional*float64 #
The value selected when tuning your transform for a balance between precision and recall.
notes

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.

primaryKeyColumnNamestringprimary_key_column_namestrprimaryKeyColumnNameStringPrimaryKeyColumnNamestringPrimaryKeyColumnName*string required #
The name of a column that uniquely identifies rows in the source table.

Used to help identify matching records.