interface FindMatchesParametersProperty
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.Glue.CfnMLTransform.FindMatchesParametersProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsglue#CfnMLTransform_FindMatchesParametersProperty |
Java | software.amazon.awscdk.services.glue.CfnMLTransform.FindMatchesParametersProperty |
Python | aws_cdk.aws_glue.CfnMLTransform.FindMatchesParametersProperty |
TypeScript | aws-cdk-lib » aws_glue » CfnMLTransform » FindMatchesParametersProperty |
The parameters to configure the find matches transform.
Example
// 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,
};
Properties
Name | Type | Description |
---|---|---|
primary | string | The name of a column that uniquely identifies rows in the source table. |
accuracy | number | The value that is selected when tuning your transform for a balance between accuracy and cost. |
enforce | boolean | IResolvable | The value to switch on or off to force the output to match the provided labels from users. |
precision | number | The value selected when tuning your transform for a balance between precision and recall. |
primaryKeyColumnName
Type:
string
The name of a column that uniquely identifies rows in the source table.
Used to help identify matching records.
accuracyCostTradeoff?
Type:
number
(optional)
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.
enforceProvidedLabels?
Type:
boolean |
IResolvable
(optional)
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.
precisionRecallTradeoff?
Type:
number
(optional)
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.