mbi.estimation.DualAveraging
- class mbi.estimation.DualAveraging(marginal_oracle: MarginalOracle | None = None, mesh: Mesh | None = None)[source]
Bases:
EstimatorRegularized Dual Averaging estimator for graphical models.
RDA is an accelerated proximal algorithm for solving a smooth convex optimization problem over the marginal polytope. This algorithm requires knowledge of the Lipschitz constant of the gradient of the loss function.
- 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
- marginal_oracle: MarginalOracle | None = None
- mesh: Mesh | None = None