mbi.estimation.MirrorDescent
- class mbi.estimation.MirrorDescent(marginal_oracle: MarginalOracle | None = None, stepsize: float | None = None, mesh: Mesh | None = None)[source]
Bases:
EstimatorMirror descent estimator for graphical models.
This is a first-order proximal optimization algorithm for solving a (possibly nonsmooth) convex optimization problem over the marginal polytope. This is an implementation of Algorithm 1 from the paper “Graphical-model based estimation and inference for differential privacy”.
- stepsize
Fixed step size, or
None(default) to use Armijo line search.- Type:
float | None
- marginal_oracle
The function to compute marginals from potentials. If
None(default), usesdefault_oracle()to auto-select.- Type:
- mesh
JAX sharding mesh.
- Type:
jax._src.mesh.Mesh | None
Methods
__init__estimateEstimate a Model from noisy marginal measurements.
precompileWarm up the JIT cache for
estimateasynchronously.Attributes
- stepsize: float | None = None
- marginal_oracle: MarginalOracle | None = None
- mesh: Mesh | None = None