Python toolkit for unsupervised learning of sequences of observations using HMM
Project description
hmm_kit
Simple Hidden Markov Models library.
Supports discrete/continuous emissions of one/multiple dimensions.
Install
python setup.py install
Usage
See examples in tests/hmm_test.py
Standalone script
To run it as a standalone script call simple_hmm.py
- Training model
simple_hmm.py train_model train_data.csv --kernel gaussian --states 3 --model_name my_model - Decode -
simple_hmm.py decode train_data.csv my_model decode.csv - Posterior -
simple_hmm.py posterior train_data.csv my_model posterior.csv
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
hmm_kit-0.3.0.tar.gz
(85.5 kB
view details)
File details
Details for the file hmm_kit-0.3.0.tar.gz.
File metadata
- Download URL: hmm_kit-0.3.0.tar.gz
- Upload date:
- Size: 85.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.18.4 setuptools/40.5.0 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.6.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7fe692de1ddcfcafc38362d8b200cfea26ec36a356a2770c7a582f95e5b7e434
|
|
| MD5 |
cb841a6abbcbe633b0e8323c91316413
|
|
| BLAKE2b-256 |
0c97cb151084e460a53ae2e1f1a1e1735ee0aa22e88b555bdd2bd258e8466fef
|