# Path: tests/context.py

# 
# Path: tests/context.py



import numpy as np
import copy
import pdb
import pprint
import os
from scipy.optimize import check_grad
from .context import lik
from .context import flatten_dict, unflatten_dict


pp = pprint.PrettyPrinter(indent=4)
np.random.seed(0)


def test_gauss_emis_log_tilted():

    # generate some datapoints for testing
    N = 5
    alpha = 0.0005
    Dout = 3
    Din = 2
    y_train = np.random.randn(N, Dout)
    # params  tied

# Path: tests/context.py

# 
# Path: tests/context.py



# Path: tests/test_grads_emis.py
import numpy as np
import copy
import pdb
import pprint
import os
from scipy.optimize import check_grad
from .context import lik
from .context import flatten_dict, unflatten_dict



pp = pprint.PrettyPrinter(indent=4)
np.random.seed(0)


def test_gauss_emis_log_tilted():

    # generate some datapoints for testing
    N = 5
    alpha = 0.0005
    Dout = 3
    Din = 2
    y_train = np.random.randn(N, Dout)
    # params  tied

    model = lik.Gauss_Emis(y_train, Dout, Din)