node package manager


A Hidden Markov Model exercise

NPM version Build Status Built with Grunt

A simple Hidden Markov Model implementation.

This repository is an attempt to create a usable Hidden Markov Model library, based on the paper A Revealing Introduction to Hidden Markov Models by Dr. Mark Stamp of San Jose State University.

The paper can be downloaded here.

Getting Started

Install the module with: npm install hmm

var HiddenMarkovModel = require('hmm');
// create a hmm machine with these definitions 
var hmm = new HiddenMarkovModel(aDef, bDef, piDef);


In lieu of a formal styleguide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality. Lint and test your code using Grunt.


Copyright (c) 2015 Timothy Guan-tin Chien Licensed under the MIT license.