Interface MLSyntheticDataParameters.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<MLSyntheticDataParameters.Builder,,MLSyntheticDataParameters> SdkBuilder<MLSyntheticDataParameters.Builder,,MLSyntheticDataParameters> SdkPojo
- Enclosing class:
MLSyntheticDataParameters
-
Method Summary
Modifier and TypeMethodDescriptioncolumnClassification(Consumer<ColumnClassificationDetails.Builder> columnClassification) Classification details for data columns that specify how each column should be treated during synthetic data generation.columnClassification(ColumnClassificationDetails columnClassification) Classification details for data columns that specify how each column should be treated during synthetic data generation.The epsilon value for differential privacy, which controls the privacy-utility tradeoff in synthetic data generation.maxMembershipInferenceAttackScore(Double maxMembershipInferenceAttackScore) The maximum acceptable score for membership inference attack vulnerability.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
epsilon
The epsilon value for differential privacy, which controls the privacy-utility tradeoff in synthetic data generation. Lower values provide stronger privacy guarantees but may reduce data utility.
- Parameters:
epsilon- The epsilon value for differential privacy, which controls the privacy-utility tradeoff in synthetic data generation. Lower values provide stronger privacy guarantees but may reduce data utility.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maxMembershipInferenceAttackScore
MLSyntheticDataParameters.Builder maxMembershipInferenceAttackScore(Double maxMembershipInferenceAttackScore) The maximum acceptable score for membership inference attack vulnerability. Synthetic data generation fails if the score for the resulting data exceeds this threshold.
- Parameters:
maxMembershipInferenceAttackScore- The maximum acceptable score for membership inference attack vulnerability. Synthetic data generation fails if the score for the resulting data exceeds this threshold.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
columnClassification
MLSyntheticDataParameters.Builder columnClassification(ColumnClassificationDetails columnClassification) Classification details for data columns that specify how each column should be treated during synthetic data generation.
- Parameters:
columnClassification- Classification details for data columns that specify how each column should be treated during synthetic data generation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
columnClassification
default MLSyntheticDataParameters.Builder columnClassification(Consumer<ColumnClassificationDetails.Builder> columnClassification) Classification details for data columns that specify how each column should be treated during synthetic data generation.
This is a convenience method that creates an instance of theColumnClassificationDetails.Builderavoiding the need to create one manually viaColumnClassificationDetails.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocolumnClassification(ColumnClassificationDetails).- Parameters:
columnClassification- a consumer that will call methods onColumnClassificationDetails.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-