Discrete time, finit state space, stationary Hidden Markov Model.
Project description
# ChainsAddiction
ChainsAddiction is a tool for simple training discrete-time Hidden Markov Models. It is written in C and features a numpy-based Python extension module.
## Installation Clone this repository, change to its root directory and issue
pip install .
## Working with the C API
## Working with the Python interpreter Calling Chains_addiction from Python is simple as pie. You just need to import it:
import chains_addiction as ca ca.hmm_poisson_fit_em(x, m, init_means, init_tpm, int_sd, max_iter=1000, tol=1e-5)
## Notes - Currently only Poisson-distributed HMM are implemented. - ChainsAddiction does not support Python 2. Specifically, it requires Python >= 3.5 and numpy >= 1.16.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for chainsaddiction-0.1-cp39-cp39-macosx_11_0_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a789a1057f62dbd5e902d7a2e6fca1b2d6fe203c222e3f60efc44d88d0a3c302 |
|
MD5 | 15aac44c503857ae07547711f321cd2c |
|
BLAKE2b-256 | e812403ce9794e9eefa46c3e73d506440fc01cfd2b8051e41fc98090da009a8f |