InferPy
InferPy copied to clipboard
inference classes
Create a class for encapsulating each inference algorithm. Objects of these class may be pass to probmodel as an argument:
infkl_qp = inf.inference.KLqp(Q = qmodel, optimizer = sgd, loss="ELBO")
probmodel.compile(infMethod = infkl_qp)