jax_privacy.auditing.Split

class jax_privacy.auditing.Split(threshold_estimation_frac=0.5, seed=None)[source]

Bases: ThresholdStrategy

Split data to choose threshold and then compute the bound.

Variables:
  • threshold_estimation_frac – The fraction of data to use for computing the threshold. The rest will be used for computing the bound.

  • seed – The seed for the random number generator. If None, a seed will be chosen non-deterministically.

Methods

__init__

Attributes

seed

threshold_estimation_frac

threshold_estimation_frac: float = 0.5
seed: int | None = None