An(other) implementation of Explicit Duration HMM/HSMM in Python 3
Reason this release was yanked:
0.1.3 released.
Project description
edhsmm
An(other) implementation of Explicit Duration Hidden Semi-Markov Model (EDHSMM) in Python 3.
The EM algorithm is based on Yu (2010), while the Viterbi algorithm is based on Benouareth et al. (2008).
The code style is inspired from hmmlearn and jvkersch/hsmmlearn.
Note: This is the "main" branch, which is for release. Use the "test" branch for prototyping.
Implemented so far
- EM algorithm (with & without right-censoring)
- Scoring (log-likelihood of observation under the model)
- Viterbi algorithm
- Generate samples
- Support for multivariate Gaussian emissions
- Support for multiple observation sequences
- Support for multinomial (discrete) emissions
See the README in the test branch for the full timeline.
Dependencies
- python >= 3.5
- numpy >= 1.10
- scikit-learn >= 0.16
- scipy >= 0.19
Installation & Tutorial
pip install edhsmm
For tutorial, see the notebooks.
Found a bug? Suggest a feature? Please post on issues.
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
edhsmm-0.1.2.tar.gz
(127.1 kB
view hashes)
Built Distribution
Close
Hashes for edhsmm-0.1.2-cp37-cp37m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6657e158274776e3cf1e12e72d945eb6597a58fe0b60273ed2549f1d61f790dc |
|
MD5 | 2664dc73e5436a3dc0e6e6e41b6a2514 |
|
BLAKE2b-256 | 9b3ea4d0c4be2bf91c336a7d7a66f99087430ffd63353a3516d09b9b52ae1cd8 |