hmm

A simple Hidden Markov Model implementation.

Usage no npm install needed!

<script type="module">
  import hmm from 'https://cdn.skypack.dev/hmm';
</script>

README

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);

Contributing

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.

License

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