Skip to content

hmmTensor

0.1.0

Hidden Markov Model by Matrix and Tensor Decomposition

0packages depend
761downloads / year
91.9%test coverage
13/13checks pass

Overview

About
Maintained by Koki TsuyuzakiFirst published 2026-05-271 releasesCRAN page ↗

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.

Install

Health

CRAN checks
13OK
Slowest check: 1.3 min · r-devel-windows-x86_64
Code health
Yes
Tests · ratio 0.16
91.9%
Coverage · measured lines
100%
Documentation · exports
4
Dependencies · direct
Check history
  • OK2026-08-05
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • NOTE2026-08-01
    12 OK · 1 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • OK2026-05-28
    7 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation
READMENoVignettesNopkgdown siteNoNEWSNoCode of conductNoContributing guideNo
Examples that run
100%
Documented parameters
100%
Return-value docs
100%
References docs
0%

Downloads

761
CRAN downloads in the past year
Rank #13,241 · ~2/day · ~63/mo
Daily download trend is not available in this view yet.
14030 days
76190 days
7611 year
Compare downloads with other packages →
Also on13 r2u12 autocran

Dependencies

Declared dependencies
3 external dependencies (excludes base and recommended)
Depends (1)
R >= 3.5.0
Imports (4)
rTensorsymTensormethodsstats
LinkingTo (0)
none
Suggests (1)
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Code & Tests

People & History

People (1)
Maintainer (1)
Author, Maintainer
Authors (1)
Author, Maintainer
Package Timeline

1 release. R releases are shown for context.

  • 0.1.0Latest
    2026-05-27 · current release
  • R
    R 4.6.0 released · 2026-04-24

Package metadata

First published
2026-05-27
Total releases
1 / 1 yrs
License
MIT + file LICENSE OSI
Minimum R
≥ 3.5.0
Download size
10 KB
Installed size
not tracked yet
With dependencies
not tracked yet

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("hmmTensor")
Tsuyuzaki, K. (2026). hmmTensor: Hidden Markov Model by Matrix and Tensor Decomposition (Version 0.1.0) [Computer software]. https://doi.org/10.32614/CRAN.package.hmmTensor

This is what citation() produces when a package has no citation file of its own. If it prints something else, use that.

Cite the R Observatory

For a number measured here: a download total, a coverage figure, an archival date.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for hmmTensor version 0.1.0 [Data set]. HJJB, LLC. Data release v2026-08-21. https://doi.org/10.5281/zenodo.21843040

From data release v2026-08-21, which the citation names so these numbers can be found later. More on citing and the projects behind them.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy