Skip to main content
Help us improve Python packaging – donate today!

Hidden Markov Models in Python with scikit-learn like API

Project Description

hmmlearn

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.

Getting the latest code

To get the latest code using git, simply type:

$ git clone https://github.com/hmmlearn/hmmlearn.git

Installing

Make sure you have all the dependencies:

$ pip install numpy scipy scikit-learn

and then install hmmlearn by running:

$ python setup.py install

in the source code directory.

Running the test suite

To run the test suite, you need pytest. Run the test suite using:

$ python setup.py build_ext --inplace
$ py.test --doctest-modules hmmlearn

from the root of the project.

Building the docs

To build the docs you need to have the following packages installed:

$ pip install Pillow matplotlib Sphinx sphinx-gallery sphinx_rtd_theme numpydoc

Run the command:

$ cd doc
$ make html

The docs are built in the _build/html directory.

Making a source tarball

To create a source tarball, eg for packaging or distributing, run the following command:

$ python setup.py sdist

The tarball will be created in the dist directory.

Making a release and uploading it to PyPI

This command is only run by project manager, to make a release, and upload in to PyPI:

$ python setup.py sdist bdist_egg register upload

Release history Release notifications

This version
History Node

0.2.0

History Node

0.1.1

History Node

0.1.0

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
hmmlearn-0.2.0-cp27-cp27m-macosx_10_6_intel.macosx_10_9_intel.macosx_10_9_x86_64.macosx_10_10_intel.macosx_10_10_x86_64.whl (183.9 kB) Copy SHA256 hash SHA256 Wheel cp27 Mar 13, 2016
hmmlearn-0.2.0-cp27-cp27m-win32.whl (74.6 kB) Copy SHA256 hash SHA256 Wheel cp27 Mar 1, 2016
hmmlearn-0.2.0-cp27-cp27m-win_amd64.whl (85.5 kB) Copy SHA256 hash SHA256 Wheel cp27 Mar 1, 2016
hmmlearn-0.2.0-cp33-cp33m-macosx_10_6_intel.macosx_10_9_intel.macosx_10_9_x86_64.macosx_10_10_intel.macosx_10_10_x86_64.whl (184.4 kB) Copy SHA256 hash SHA256 Wheel cp33 Mar 13, 2016
hmmlearn-0.2.0-cp34-cp34m-macosx_10_6_intel.macosx_10_9_intel.macosx_10_9_x86_64.macosx_10_10_intel.macosx_10_10_x86_64.whl (184.9 kB) Copy SHA256 hash SHA256 Wheel cp34 Mar 13, 2016
hmmlearn-0.2.0-cp34-cp34m-win32.whl (75.6 kB) Copy SHA256 hash SHA256 Wheel cp34 Mar 1, 2016
hmmlearn-0.2.0-cp34-cp34m-win_amd64.whl (84.0 kB) Copy SHA256 hash SHA256 Wheel cp34 Mar 1, 2016
hmmlearn-0.2.0-cp35-cp35m-macosx_10_6_intel.macosx_10_9_intel.macosx_10_9_x86_64.macosx_10_10_intel.macosx_10_10_x86_64.whl (185.1 kB) Copy SHA256 hash SHA256 Wheel cp35 Mar 13, 2016
hmmlearn-0.2.0-cp35-cp35m-win32.whl (71.5 kB) Copy SHA256 hash SHA256 Wheel cp35 Mar 1, 2016
hmmlearn-0.2.0-cp35-cp35m-win_amd64.whl (81.8 kB) Copy SHA256 hash SHA256 Wheel cp35 Mar 1, 2016
hmmlearn-0.2.0.tar.gz (107.9 kB) Copy SHA256 hash SHA256 Source None Mar 1, 2016

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page