Class BoundedMean.Params.Builder

  • Enclosing class:
    BoundedMean.Params

    public abstract static class BoundedMean.Params.Builder
    extends java.lang.Object
    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • delta

        public abstract BoundedMean.Params.Builder delta​(@Nullable
                                                         java.lang.Double value)
        Delta DP parameter.

        Note that Laplace noise does not use delta. Hence, delta should not be set when Laplace noise is used.

      • maxPartitionsContributed

        public abstract BoundedMean.Params.Builder maxPartitionsContributed​(int value)
        Maximum number of partitions that a single privacy unit (e.g., an individual) is allowed to contribute to.
      • maxContributionsPerPartition

        public abstract BoundedMean.Params.Builder maxContributionsPerPartition​(int value)
        Max contributions per partition from a single privacy unit (e.g., an individual).
      • lower

        public abstract BoundedMean.Params.Builder lower​(double value)
        Lower bound for the entries added to the mean. Any entires smaller than this value will be set to this value.
      • upper

        public abstract BoundedMean.Params.Builder upper​(double value)
        Upper bound for the entries added to the mean. Any entires greater than this value will be set to this value.