

def plot_log_likelihood(lds_times, lds_lls, hmm_times, hmm_lls, figname='lds_vs_hmm_ll.pdf'):
    plt.figure(figsize=(3, 3.2))
    plt.plot(hmm_lls, lw=2, color=colors[1], label='HMM')
    plt.plot(hmm_times, lw=2, color=colors[0], label='LDS')
    plt.legend(loc='lower right')
    plt.xlabel('Iteration')
    plt.ylabel('Log Likelihood')
    plt.title(('Synthetic. D=%d. K=%d' % (D, K)))
    plt.tight_layout()

dataset/ETHPy150Open HIPS/pgmult/examples/multinomial_lds_2.py plot_log_likelihood/VarMisuse@59/92 `lds_lls`->`hmm_times`