mbi.estimation.InteriorGradient
- class mbi.estimation.InteriorGradient(marginal_oracle: MarginalOracle | None = None, mesh: Mesh | None = None)[source]
Bases:
EstimatorInterior Gradient estimator for graphical models.
Interior Gradient 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. Based on the paper “Interior Gradient and Proximal Methods for Convex and Conic Optimization”.
- 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