Minor fix of tree aggregation accounting docstring.

PiperOrigin-RevId: 426398939
This commit is contained in:
Zheng Xu 2022-02-04 07:31:35 -08:00 committed by A. Unique TensorFlower
parent c3e7f08fa5
commit 2fe51d2eeb

View file

@ -99,8 +99,8 @@ def compute_rdp_tree_restart(
Args: Args:
noise_multiplier: A non-negative float representing the ratio of the noise_multiplier: A non-negative float representing the ratio of the
standard deviation of the Gaussian noise to the l2-sensitivity of the standard deviation of the Gaussian noise to the l2-sensitivity of a single
function to which it is added, which is usually set in contribution (a leaf node), which is usually set in
`TreeCumulativeSumQuery` and `TreeResidualSumQuery` from `TreeCumulativeSumQuery` and `TreeResidualSumQuery` from
`dp_query.tree_aggregation_query`. `dp_query.tree_aggregation_query`.
steps_list: A scalar or a list of non-negative intergers representing the steps_list: A scalar or a list of non-negative intergers representing the
@ -292,8 +292,8 @@ def compute_rdp_single_tree(
Args: Args:
noise_multiplier: A non-negative float representing the ratio of the noise_multiplier: A non-negative float representing the ratio of the
standard deviation of the Gaussian noise to the l2-sensitivity of the standard deviation of the Gaussian noise to the l2-sensitivity of a single
function to which it is added, which is usually set in contribution (a leaf node), which is usually set in
`TreeCumulativeSumQuery` and `TreeResidualSumQuery` from `TreeCumulativeSumQuery` and `TreeResidualSumQuery` from
`dp_query.tree_aggregation_query`. `dp_query.tree_aggregation_query`.
total_steps: Total number of steps (leaf nodes in tree aggregation). total_steps: Total number of steps (leaf nodes in tree aggregation).
@ -354,8 +354,8 @@ def compute_zcdp_single_tree(
Args: Args:
noise_multiplier: A non-negative float representing the ratio of the noise_multiplier: A non-negative float representing the ratio of the
standard deviation of the Gaussian noise to the l2-sensitivity of the standard deviation of the Gaussian noise to the l2-sensitivity of a single
function to which it is added, which is usually set in contribution (a leaf node), which is usually set in
`TreeCumulativeSumQuery` and `TreeResidualSumQuery` from `TreeCumulativeSumQuery` and `TreeResidualSumQuery` from
`dp_query.tree_aggregation_query`. `dp_query.tree_aggregation_query`.
total_steps: Total number of steps (leaf nodes in tree aggregation). total_steps: Total number of steps (leaf nodes in tree aggregation).