1. Introduction

This package is an implementation of Viterbi Algorithm, Forward algorithm and the Baum Welch Algorithm. The computations are done via matrices to improve the algorithm runtime. Package hidden_markov is tested with Python version 2.7 and Python version 3.5.

1.1. Installation

To install this package, clone this repo and from the root directory run:

$ python setup.py install

An alternative way to install the package hidden_markov, is to use pip or easy_install, i.e. run the command:

$ pip install hidden_markov

Unfamiliar with pip? Checkout this link to install pip.

1.2. Requirements