(self, Ts, Ps)
return mu0, Phi, m, n0
Evaluate prior.
Evaluate prior.
Evaluate prior .
def eval(self, Ts, Ps):
        """ Evaluate prior. """
        # Construct query data point.
        pts = np.concatenate((Ts, Ps), axis=1)
        # Perform query.
        mu0, Phi, m, n0 = self.gmm.inference(pts)
        # Factor in multiplier.
        n0 *= self._strength
        m *= self._strength
        # Multiply Phi by m (since it was normalized before).
        Phi *= m
        return mu0, Phi, m, n0
def eval ( self , Ts , Ps ) : # Construct query data point. pts = np . concatenate ( ( Ts , Ps ) , axis = 1 ) # Perform query. mu0 , Phi , m , n0 = self . gmm . inference ( pts ) # Factor in multiplier. n0 *= self . _strength m *= self . _strength # Multiply Phi by m (since it was normalized before). Phi *= m return mu0 , Phi , m , n0