Skip to content

hmmTensor

0.1.0Package record

Hidden Markov Model by Matrix and Tensor Decomposition

0packages depend
1.3Kdownloads / year
91.9%test coverage
13/13flavors OK

Overview

About

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: 57 s · r-devel-windows-x86_64
Status changes
  • OK13 OK2026-08-05
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK7 OK2026-05-28
Advisories

none known

Documentation

In release 0.1.0
READMENoVignettesNoNEWSNoCitation fileNoWebsitenot declared in DESCRIPTION
Help pages
7
Examples that run
100%3 run in a plain check
Exported functions with examples
43%
Documented parameters
100%
Return-value docs
100%
Help pages citing references
0%

Downloads

1.3K
CRAN downloads in the past year
Rank #19,145 · ~4/day · ~111/mo
Daily download trend is not available in this view yet.
24730 days
68690 days
1.3K1 year
Compare downloads with other packages →
Also on20 r2u2 autocran

Dependencies

Declared dependencies
3 external dependencies (excludes base and recommended)

Installing hmmTensor adds 2 packages (0 with compiled code, 56 KB of source tarballs). Heaviest: rTensor 43 KB, symTensor 13 KB.

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.

People & History

People (1)
Author, Maintainer since 0.1.0 (2026)
Releases (1)
  • 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

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 package has no citation file, so citation() returns this entry built from DESCRIPTION.

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-10-23. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-23, 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