forked from lopatovsky/HMMs
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathREADME
More file actions
56 lines (39 loc) · 1.7 KB
/
README
File metadata and controls
56 lines (39 loc) · 1.7 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
Intro
=====
HMMs is the **Hidden Markov Models library** for *Python*. It is easy to
use, **general purpose** library, implementing all the important
submethods, needed for the training, examining and experimenting with
the data models.
The effectivness of the computationally expensive parts is powered by
*Cython*.
You can build two models:
- **Discrete-time Hidden Markov Model**
Usually just reffered as the Hidden Markov Model.
- **Continuous-time Hidden Markov Model**
The variant of the Hidden Markov Model, where the state transition can occure in the continuous time, and that allows random distribution of the observation times.
Before starting to work, it is recommended to go trough **tutorial with
examples**, `the ipython
notebook <https://github.com/lopatovsky/CT-HMM/blob/master/hmms.ipynb>`__,
covering most of the main usecases.
For **deeper understanding** of the topic you can see the corresponding
`diploma thesis <https://github.com/lopatovsky/DP>`__. Or read the
main referenced articles:
`Dt-HMM <http://www.ece.ucsb.edu/Faculty/Rabiner/ece259/Reprints/tutorial%20on%20hmm%20and%20applications.pdf%3E>`__,
`Ct-HMM <https://web.engr.oregonstate.edu/~lif/nips2015_CTHMM_learning_camera_ready.pdf>`__
.
- Sources of the project:
`Pypi <https://pypi.python.org/pypi/hmms>`__,
`Github <https://github.com/lopatovsky/CT-HMM>`__.
Requirements
------------
- python 3.5
- libraries: Cython, ipython, matplotlib, notebook, numpy, pandas,
scipy,
- libraries for testing environment: pytest
Download & Install
------------------
After installing Numpy and Cython, you can install the package directly
from pypi.
::
(env)$ python -m pip install numpy cython
(env)$ python -m pip install hmms