Interface MLSyntheticDataParameters.Builder

  • Method Details

    • epsilon

      The epsilon value for differential privacy when generating synthetic data. Lower values provide stronger privacy guarantees but may reduce data utility.

      Parameters:
      epsilon - The epsilon value for differential privacy when generating synthetic data. 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 the ColumnClassificationDetails.Builder avoiding the need to create one manually via ColumnClassificationDetails.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to columnClassification(ColumnClassificationDetails).

      Parameters:
      columnClassification - a consumer that will call methods on ColumnClassificationDetails.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: