[latentfunctioninference] superclass LatentFunctionInference added, which contains a call just before and just after optimization

This commit is contained in:
Max Zwiessele 2014-05-15 14:06:00 +01:00
parent 02b5ee1e46
commit 58a05f37b7
11 changed files with 69 additions and 14 deletions

View file

@ -4,9 +4,10 @@
from posterior import Posterior
from ...util.linalg import jitchol, tdot, dtrtrs, dpotri, pdinv
import numpy as np
from . import LatentFunctionInference
log_2_pi = np.log(2*np.pi)
class DTC(object):
class DTC(LatentFunctionInference):
"""
An object for inference when the likelihood is Gaussian, but we want to do sparse inference.