jax_privacy.matrix_factorization.buffered_toeplitz#
Functions for working with Buffered Linear Toeplitz (BLT) strategy matrices.
BufferedToeplitz is the main BLT class, with several helper functions
for error and sensitivity calculation, as well as optimization.
Functions
|
Computes BLTs (C, C_inv) from theta and theta_hat. |
|
|
|
Sum a + a*r + a*r**2 + . |
|
Returns an initial BufferedToeplitz for initializing optimization. |
|
Computes the error on iteration |
|
Computes limit_{n -> jnp.inf} (1/n)*max_error(blt, n). |
|
|
|
Returns the max squared error for any iteration 0, ..., n-1. |
|
|
|
Returns \(\min_{i, j; i \neq j} |\theta_i - \theta_j|\). |
|
Return inf if blt, the first arg to blt_fn, has buf_decay > 1. |
|
Return inf if blt, the first arg to blt_fn, has output_scale <= 0. |
|
Robustly computes _max_error_Gamma_j. |
|
Robustly computes _max_error_Gamma_jk. |
|
Classes
|
A lower-triangular Toeplitz C parameterized as a BLT. |
|
Encapsulates the loss to be optimized for a specific setting. |
|
A parameterization of a BufferedToeplitz for optimization. |
|
Builder to convert a BLT to a StreamingMatrix. |