hmmlearn: Hidden Markov Models in Python, with scikit-learn like API

Project Website: http://hmmlearn.readthedocs.org

Github Link: https://github.com/hmmlearn/hmmlearn

**Description**

hmmlearn is a set of algorithms for unsupervised learning and inference of Hidden Markov Models. For supervised learning learning of HMMs and similar models see seqlearn.

Simple algorithms and models to learn HMMs (Hidden Markov Models) in Python,

Follows scikit-learn API as close as possible, but adapted to sequence data,

Built on scikit-learn, NumPy, SciPy, and matplotlib,

Open source, commercially usable — BSD license.

Important links

Official source code repo: https://github.com/hmmlearn/hmmlearn

HTML documentation (stable release): https://hmmlearn.readthedocs.org/en/stable

HTML documentation (development version): https://hmmlearn.readthedocs.org/en/latest

Dependencies

The required dependencies to use hmmlearn are

Python >= 2.6

NumPy (tested to work with >=1.9.3)

SciPy (tested to work with >=0.16.0)

scikit-learn >= 0.16

You also need Matplotlib >= 1.1.1 to run the examples and pytest >= 2.6.0 to run the tests.

Installation

First make sure you have installed all the dependencies listed above. Then run the following command:

pip install -U –user hmmlearn