Package: hmmTensor 0.1.0
hmmTensor: Hidden Markov Model by Matrix and Tensor Decomposition
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) <doi:10.1016/j.jcss.2011.12.025>. The symNMF method is described in Kuang, Yun, and Park (2015) <doi:10.1007/s10898-014-0247-2>. The Tensor-Train decomposition is described in Oseledets (2011) <doi:10.1137/090752286>.
Authors:
hmmTensor_0.1.0.tar.gz
hmmTensor_0.1.0.zip(r-4.7)hmmTensor_0.1.0.zip(r-4.6)hmmTensor_0.1.0.zip(r-4.5)
hmmTensor_0.1.0.tgz(r-4.6-any)hmmTensor_0.1.0.tgz(r-4.5-any)
hmmTensor_0.1.0.tar.gz(r-4.7-any)hmmTensor_0.1.0.tar.gz(r-4.6-any)
hmmTensor_0.1.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
card.svg |card.png
hmmTensor/json (API)
| # Install 'hmmTensor' in R: |
| install.packages('hmmTensor', repos = c('https://kokitsuyuzaki.r-universe.dev', 'https://cloud.r-project.org')) |
This package does not link to any Github/Gitlab/R-forge repository. No issue tracker or development information is available.
Last updated from:be8657d954. Checks:9 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-x86_64 | OK | 106 | ||
| source / vignettes | OK | 163 | ||
| linux-release-x86_64 | OK | 108 | ||
| macos-release-arm64 | OK | 243 | ||
| macos-oldrel-arm64 | OK | 190 | ||
| windows-devel | OK | 142 | ||
| windows-release | OK | 60 | ||
| windows-oldrel | OK | 61 | ||
| wasm-release | OK | 91 |
Readme and manuals
Help Manual
| Help page | Topics |
|---|---|
| Backward Algorithm for HMM | Backward |
| Baum-Welch Algorithm (EM) for HMM | BaumWelch |
| Forward Algorithm for HMM | Forward |
| HMM Parameter Estimation via Matrix/Tensor Decomposition | HMM |
| Convert Observation Sequences to Co-occurrence Matrix/Tensor | Seq2Prob |
| Generate Toy HMM Data | toyModel |
| Viterbi Algorithm for HMM | Viterbi |
