pymc.Inference#

class pymc.Inference(op, approx, tf, **kwargs)[source]#

Base class for Variational Inference

Communicates Operator, Approximation and Test Function to build Objective Function

Parameters
op: Operator class
approx: Approximation class or instance
tf: TestFunction instance
model: Model

PyMC Model

kwargs: kwargs passed toclass:Operator

Methods

Inference.__init__(op, approx, tf, **kwargs)

Inference.fit([n, score, callbacks, progressbar])

Perform Operator Variational Inference

Inference.refine(n[, progressbar])

Refine the solution using the last compiled step function

Inference.run_profiling([n, score])

Attributes

approx