项目介绍

helske/seqHMM 是一个托管在 GitHub 上的开源项目,主要使用 R 编写,目前获得 106 个 Star、31 次 Fork。

仓库全名
helske/seqHMM
Star 数
106
Fork 数
31
未关闭 Issue
11

README 摘要

seqHMM: Hidden Markov Models for Life Sequences and Other Multivariate, Multichannel Categorical Time Series ==================================================================================================== The seqHMM package is designed for fitting hidden (latent) Markov models (HMMs) and their variations for social sequence data and other categorical sequence data (e.g. categorical time series and panel data)…

完整内容见 GitHub 原始 README 或本页 。

常见问题

seqHMM 用什么语言开发?

主要使用 R 编写,目前有 106 个 Star。

如何获取 seqHMM 的源码?

可以直接克隆仓库:git clone https://github.com/helske/seqHMM.git,默认分支为 main;安装与运行步骤见仓库 README。

seqHMM 最近还在维护吗?

仓库最近一次更新为 2 周前,当前有 11 个未关闭 Issue;Star 数为 106,可作为社区活跃度的参考。

关于

Multivariate and Multichannel Discrete Hidden Markov Models for Categorical Sequences

描述取自 GitHub 官方 API,中文内容由 GitRead 中文社区 编辑团队整理。

简要分析

热度分
175
价值分
73
活跃状态
活跃

README

R-CMD-check Codecov test coverage cran version downloads

seqHMM: Hidden Markov Models for Life Sequences and Other Multivariate, Multichannel Categorical Time Series

The seqHMM package is designed for fitting hidden (latent) Markov models (HMMs) and their variations for social sequence data and other categorical sequence data (e.g. categorical time series and panel data). Restricted and extended variants include mixture HMMs, Markov models and their mixtures, latent class models, non-homogeneous hidden Markov models (NHMMs) and their mixtures, and feedback-augmented hidden Markov models (FAN-HMMs).

The package supports models for one or multiple subjects with one or multiple parallel outcome sequences (channels). External covariates can be added to explain cluster membership in mixture models, and NHMMs and their variants support covariates in initial, transition and emission matrices as well.

Maximum likelihood estimation via EM algorithm and direct numerical maximization with analytical gradients is supported. All main algorithms are written in C++. Parallel computation is available via OpenMP (pre-2.0.0 version models) and future (via parallel multistart estimation with random initial values).

When using the package in publications, please cite:

Helske, Satu and Helske, Jouni (2019). Mixture hidden Markov models for sequence data: the seqHMM package in R. Journal of Statistical Software, 88(3). doi:10.18637/jss.v088.i03.

Helske, Jouni (2025). Feedback-augmented Non-homogeneous Hidden Markov Models for Longitudinal Causal Inference. arXiv preprint. doi:10.48550/arXiv.2503.16014.

If you find bugs, please add a new issue here in GitHub. You can also contact Satu Helske ([email protected]) or Jouni Helske ([email protected]). We would be happy to hear your feedback.

The package is available on CRAN. Install it via

install.packages("seqHMM")

If you want to try the development version of the seqHMM package, install it from the R-universe:

install.packages("seqHMM", repos = "https://helske.r-universe.dev")

评论

暂无评论