1 % Generate sample sequences from the model given.
\r
2 function sequences = test_k_parameter(train, test, min_k, max_k)
\r
6 [model c] = em_kmc(train, i);
\r
7 sequences{index}.model = model;
\r
8 sequences{index}.log_likelihood = total_model_log_likelihood(train, model);
\r
9 sequences{index}.test_log_likelihood = total_model_log_likelihood(test, model);
\r