

def initialize_hmm_parameters(num_states, num_outputs):
    init_pi = normalize(npr.rand(num_states))
    init_A = normalize(npr.rand(num_states, num_states))
    init_B = normalize(npr.rand(num_states, num_outputs))
    return (init_pi, init_A, init_B)

dataset/ETHPy150Open HIPS/autograd/examples/hmm_em.py initialize_hmm_parameters/original