// System.out.println("Log-likelihood: %f\n", hmm.loglikelihood());
// Test Baum-Welch reestimation
for (i=0;i<100;i++) {
hmm.baumwelch();
hmm.forwardbackward();
// System.out.println("Log-likelihood: %f\n", hmm.loglikelihood());
}
// Inspect reconstructed transition matrix