TransformParametersProperty Struct
The algorithm-specific parameters that are associated with the machine learning transform.
| Source | |
|---|---|
| Type last changed |
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 transformParametersProperty: glue.CfnMLTransform.TransformParametersProperty = {
transformType: 'transformType',
// the properties below are optional
findMatchesParameters: {
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
transform_parameters_property = glue.CfnMLTransform.TransformParametersProperty(
transform_type="transformType",
# the properties below are optional
find_matches_parameters=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.*;
TransformParametersProperty transformParametersProperty = TransformParametersProperty.builder()
.transformType("transformType")
// the properties below are optional
.findMatchesParameters(FindMatchesParametersProperty.builder()
.primaryKeyColumnName("primaryKeyColumnName")
// the properties below are optional
.accuracyCostTradeoff(123)
.enforceProvidedLabels(false)
.precisionRecallTradeoff(123)
.build())
.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 transformParametersProperty = new TransformParametersProperty {
TransformType = "transformType",
// the properties below are optional
FindMatchesParameters = 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"
transformParametersProperty := &TransformParametersProperty{
TransformType: jsii.String("transformType"),
// the properties below are optional
FindMatchesParameters: &FindMatchesParametersProperty{
PrimaryKeyColumnName: jsii.String("primaryKeyColumnName"),
// the properties below are optional
AccuracyCostTradeoff: jsii.Number(123),
EnforceProvidedLabels: jsii.Boolean(false),
PrecisionRecallTradeoff: jsii.Number(123),
},
}
Properties
findMatchesParametersoptionalIResolvable | CfnMLTransform.find_matches_parametersoptionaltyping.Union[IResolvable, FindMatchesParametersProperty]findMatchesParametersoptionalIResolvableFindMatchesParametersoptionalIResolvableFindMatchesParametersoptionalinterface{} #The parameters for the find matches algorithm.
transformTypestringtransform_typestrtransformTypeStringTransformTypestringTransformType*string required #The type of machine learning transform. `FIND_MATCHES` is the only option.
For information about the types of machine learning transforms, see Working with machine learning transforms .