mbi package
Top-Level Classes
Represents a discrete domain defined by attributes and their sizes. |
|
A discrete tabular dataset backed by a dictionary of 1D numpy arrays. |
|
Represents a factor defined over a discrete domain. |
|
Manages a collection of factors, each associated with a clique. |
|
An object whose marginals can be computed over subsets of attributes. |
|
A loss function over the concatenated vector of marginals. |
|
A class for representing a private linear measurement of a marginal. |
|
Callable signature for stateless marginal oracle functions. |
|
Represents a learned graphical model. |
|
An object that estimates a Model from a marginal-based loss function. |
|
A structural constraint on allowed value combinations. |
Top-Level Functions
Save a JAX pytree to |
|
Load a JAX pytree from |
|
Return a structured summary of the model. |
|
Override the library-wide log function (default: print). |
Modules
Marginal oracles for computing marginals from graphical model potentials. |
|
Defines loss functions based on linear measurements of marginals. |
|
Algorithms for estimating graphical models from marginal-based loss functions. |
|
Approximate marginal oracles with convex counting numbers. |
|
Defines callback mechanisms for monitoring optimization processes. |
|
Utilities for constructing and working with junction trees. |
|
Extensions for mbi providing alternative estimation approaches. |