Table of Contents

Class ModelParameters

Namespace
Bonsai.ML.HiddenMarkovModels
Assembly
Bonsai.ML.HiddenMarkovModels.dll

Represents the model parameters of a Hidden Markov Model (HMM).

[Combinator]
[WorkflowElementCategory(ElementCategory.Source)]
[JsonConverter(typeof(ModelParametersJsonConverter))]
public class ModelParameters : PythonStringBuilder
Inheritance
ModelParameters
Inherited Members

Constructors

ModelParameters()

Initializes a new instance of the ModelParameters class.

Properties

Dimensions

The dimensionality of the observations going into the HMM.

NumStates

The number of discrete latent states in the HMM model.

ObservationModelType

The type of distribution that the HMM will use to model the emission of data observations.

StateParameters

The state parameters of the HMM model.

TransitionModelType

The type of transition model that the HMM will use to calculate the probabilities of transitioning between states.

Methods

BuildString()

Method used to build a string representation of the object.

Process()

Returns an observable sequence of ModelParameters objects.

Process(IObservable<PyObject>)

Transforms an observable sequence of Python.Runtime.PyObject into an observable sequence of ModelParameters objects by accessing internal attributes of the Python.Runtime.PyObject.

Process<TSource>(IObservable<TSource>)

Takes an observable seqence and returns an observable sequence of ModelParameters objects that are emitted every time the input sequence emits a new element.