Skip to main content

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

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

hmmlearn-0.2.0.tar.gz (107.9 kB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

hmmlearn-0.2.0-cp35-cp35m-win_amd64.whl (81.8 kB view details)

Uploaded CPython 3.5mWindows x86-64

hmmlearn-0.2.0-cp35-cp35m-win32.whl (71.5 kB view details)

Uploaded CPython 3.5mWindows x86

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 view details)

Uploaded CPython 3.5mmacOS 10.10+ Intel (x86-64, i386)macOS 10.10+ x86-64macOS 10.6+ Intel (x86-64, i386)macOS 10.9+ Intel (x86-64, i386)macOS 10.9+ x86-64

hmmlearn-0.2.0-cp34-cp34m-win_amd64.whl (84.0 kB view details)

Uploaded CPython 3.4mWindows x86-64

hmmlearn-0.2.0-cp34-cp34m-win32.whl (75.6 kB view details)

Uploaded CPython 3.4mWindows x86

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 view details)

Uploaded CPython 3.4mmacOS 10.10+ Intel (x86-64, i386)macOS 10.10+ x86-64macOS 10.6+ Intel (x86-64, i386)macOS 10.9+ Intel (x86-64, i386)macOS 10.9+ x86-64

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 view details)

Uploaded CPython 3.3mmacOS 10.10+ Intel (x86-64, i386)macOS 10.10+ x86-64macOS 10.6+ Intel (x86-64, i386)macOS 10.9+ Intel (x86-64, i386)macOS 10.9+ x86-64

hmmlearn-0.2.0-cp27-cp27m-win_amd64.whl (85.5 kB view details)

Uploaded CPython 2.7mWindows x86-64

hmmlearn-0.2.0-cp27-cp27m-win32.whl (74.6 kB view details)

Uploaded CPython 2.7mWindows x86

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 view details)

Uploaded CPython 2.7mmacOS 10.10+ Intel (x86-64, i386)macOS 10.10+ x86-64macOS 10.6+ Intel (x86-64, i386)macOS 10.9+ Intel (x86-64, i386)macOS 10.9+ x86-64

File details

Details for the file hmmlearn-0.2.0.tar.gz.

File metadata

  • Download URL: hmmlearn-0.2.0.tar.gz
  • Upload date:
  • Size: 107.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for hmmlearn-0.2.0.tar.gz
Algorithm Hash digest
SHA256 694646f8302bc6402925a4b6892f3a5ccede06d25f22157c18cfbdecdb748361
MD5 929acdbe7c97a2fed65bd3bbff516810
BLAKE2b-256 dd9e6822b0cb04660f897cffb0ef39020423b342548803015f9b6e7dffeed2a8

See more details on using hashes here.

File details

Details for the file hmmlearn-0.2.0-cp35-cp35m-win_amd64.whl.

File metadata

File hashes

Hashes for hmmlearn-0.2.0-cp35-cp35m-win_amd64.whl
Algorithm Hash digest
SHA256 2c5ba782d239d45a8203fa382f6679c4b4d622900a34dc60057d59e5ebeed704
MD5 8879b0b94a5a5a0ef59a851498cfb6f0
BLAKE2b-256 079b7da3e2b04903e95d44a6ad1baefb9080682ffc97d0d722d71c6e45454944

See more details on using hashes here.

File details

Details for the file hmmlearn-0.2.0-cp35-cp35m-win32.whl.

File metadata

File hashes

Hashes for hmmlearn-0.2.0-cp35-cp35m-win32.whl
Algorithm Hash digest
SHA256 522bafe355f4676e37594ec1691021b52eaf46a5d5dcbe817978dd09a736372f
MD5 90640bfd968775d07fb264f0e049fd7d
BLAKE2b-256 2e6437bd534c66aa2bb1de0a2382038b727dedc792695b7e395fedf1bc39851c

See more details on using hashes here.

File details

Details for the file 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.

File metadata

File hashes

Hashes for 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
Algorithm Hash digest
SHA256 0bd4fff6ccbf16c0a16203690643d915bc87da81d8da3aba63f28a120918dfc6
MD5 86dcc0e2e62a9a549b40bdf8cbe908d2
BLAKE2b-256 19b8233bf66c22b86117bd6b8d0618f72f283e005aff5b6cc71ac1d4c51b5402

See more details on using hashes here.

File details

Details for the file hmmlearn-0.2.0-cp34-cp34m-win_amd64.whl.

File metadata

File hashes

Hashes for hmmlearn-0.2.0-cp34-cp34m-win_amd64.whl
Algorithm Hash digest
SHA256 7d497252e1fbbb916a7b8300346e13dd0bb761361eecec1e23d11f1f3497a996
MD5 8f424d4ea38835c6d294bd2cb2942331
BLAKE2b-256 0b8dd1b39c64f0b9edab8be61e8d325397fe7ad4b01dec0b96c9983c44d2046b

See more details on using hashes here.

File details

Details for the file hmmlearn-0.2.0-cp34-cp34m-win32.whl.

File metadata

File hashes

Hashes for hmmlearn-0.2.0-cp34-cp34m-win32.whl
Algorithm Hash digest
SHA256 8b671ac60b99b761c0f8ccb1905ab57f26df18db3691e09e44174cbcf296a725
MD5 e09b21ad610557e4de975b0d206ba42e
BLAKE2b-256 a55db888df35efb4ef67a57cc2db89999c38e4d120131ace25beba64fad5ce07

See more details on using hashes here.

File details

Details for the file 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.

File metadata

File hashes

Hashes for 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
Algorithm Hash digest
SHA256 e1ef48ab1f7e383a47c647ddb41ddd86d4f8948a6d13072f3c0ddfa6fa9fdc75
MD5 e59312db9bb083a13a0937ab73c5fb57
BLAKE2b-256 20089a694d7a2dd093f5b4addc8a58f8aada7a2b63d1870567e84e319a27db80

See more details on using hashes here.

File details

Details for the file 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.

File metadata

File hashes

Hashes for 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
Algorithm Hash digest
SHA256 6848f29e90db29cae30186da478e4ef96910f559bc1ea6e112c6bdc1a89b1343
MD5 7d403a1cc45853ec91158f4d5fc0dd7c
BLAKE2b-256 2880ae21e87110caed9a94f37eec2889854751e66a746af911a96aefb9627882

See more details on using hashes here.

File details

Details for the file hmmlearn-0.2.0-cp27-cp27m-win_amd64.whl.

File metadata

File hashes

Hashes for hmmlearn-0.2.0-cp27-cp27m-win_amd64.whl
Algorithm Hash digest
SHA256 3d38c5a1016b62890e5be05dd77b3105ab180596457353ba2013aa8195dce257
MD5 1399485669809f6e9ea19898d54386b6
BLAKE2b-256 f06357e40786064eebed7e01ccecff781f891d25a2066a0001d51a09e1b2466e

See more details on using hashes here.

File details

Details for the file hmmlearn-0.2.0-cp27-cp27m-win32.whl.

File metadata

File hashes

Hashes for hmmlearn-0.2.0-cp27-cp27m-win32.whl
Algorithm Hash digest
SHA256 96939cc3a67b1804d1c5972c9c4f9c830e9ce0898a873342291623bb235a62dd
MD5 0555198a7e48ad5802b63271258900e0
BLAKE2b-256 a94d1a81b96344a1cc69a1ef89f5097f14a837b3d558a18d10dd46fc92fb9c05

See more details on using hashes here.

File details

Details for the file 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.

File metadata

File hashes

Hashes for 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
Algorithm Hash digest
SHA256 c3b555343e9d9c22a2e6c40c8be6d6e337051ee4ad3f339095037ff1effc66a0
MD5 d94ac7d442bba420f90bda5dc0b63f0f
BLAKE2b-256 1e19e019bfbd483eefc5954ab14768b2d2cf178026d0667e8d16912ef3d8118d

See more details on using hashes here.

Supported by

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