hmm-hmatrix-0.0.1: Hidden Markov Models using HMatrix primitives

Safe HaskellNone
LanguageHaskell2010

Math.HiddenMarkovModel.Example.Circle

Description

Warning: do not import that module, it is only intended for demonstration

Example of an HMM with continuous emissions with two-dimensional observations. We train a model to accept a parametric curve of a circle with a certain speed. This is like Math.HiddenMarkovModel.Example.SineWave but in two dimensions.

The four hidden states correspond to the four quadrants.

Synopsis

Documentation

reconstructDistribution :: Gaussian Double Source

Sample multivariate normal distribution and reconstruct it from the samples. You should obtain the same parameters.