Skip to main content

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 hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page