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

Safe HaskellNone

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

circleLabeled :: T [] (State, Vector Double)Source

circle :: T [] (Vector Double)Source

reconstructDistribution :: Gaussian DoubleSource

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