Solves Hidden Markov Models (HMMs) via matrix and tensor
decomposition. Converts observation sequences to co-occurrence
matrices/tensors and applies Symmetric Non-negative Matrix
Factorization (symNMF), Singular Value Decomposition (SVD),
CANDECOMP/PARAFAC (CP) decomposition, or Tensor-Train (TT)
decomposition to recover HMM parameters.
Also provides standard HMM algorithms (Forward, Backward, Viterbi,
Baum-Welch) for comparison.
The spectral learning approach for HMMs is based on
Hsu, Kakade, and Zhang (2012)