Sequential modeling

Dynamic time warping

dtw([X, Y, C, metric, step_sizes_sigma, …]) Dynamic time warping (DTW).

Viterbi decoding

viterbi(prob, transition[, p_init, return_logp]) Viterbi decoding from observation likelihoods.
viterbi_discriminative(prob, transition[, …]) Viterbi decoding from discriminative state predictions.
viterbi_binary(prob, transition[, p_state, …]) Viterbi decoding from binary (multi-label), discriminative state predictions.

Transition matrices

transition_uniform(n_states) Construct a uniform transition matrix over n_states.
transition_loop(n_states, prob) Construct a self-loop transition matrix over n_states.
transition_cycle(n_states, prob) Construct a cyclic transition matrix over n_states.
transition_local(n_states, width[, window, wrap]) Construct a localized transition matrix.