Class: XmmDecoderLfo

XmmDecoderLfo

Lfo class loading any model (GMM or HHMM) created by the xmm library and automatically instantiating the corresponding decoder internally to process an input stream of vectors (models must have been trained from the same input stream). As the results of the classification / following / regression are more complex than a simple vector, a callback function can be passed to the constructor to handle them.

Constructor

new XmmDecoderLfo(options)

Parameters:
Name Type Description
options Object

Override defaults.

Properties
Name Type Attributes Default Description
model Object <optional>
null

Any model from the XMM library.

likelihoodWindow Number <optional>
20

Likelihood window size (smooths output).

output 'likelihoods' | 'regression' <optional>
'likelihoods'

Which information to output.

callback filterCallback <optional>
null
Source:

Methods

reset()

Resets the intermediate results of the estimation if the model is a HHMM.

Source: