Loops for tuning HMM
Loops for tuning HMM