Table of Contents

Class CategoricalObservations

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

Represents an operator that is used to create and transform an observable sequence of CategoricalObservations objects.

[Combinator]
[WorkflowElementCategory(ElementCategory.Source)]
[JsonObject(MemberSerialization.OptIn)]
public class CategoricalObservations : ObservationModel
Inheritance
CategoricalObservations
Inherited Members

Constructors

CategoricalObservations()

Constructs a new instance of the PythonModel class.

CategoricalObservations(params object[])

Initializes a new instance of the PythonModel class using keyword arguments.

Properties

Categories

The number of categories in the observations.

Kwargs

The dictionary of keyword arguments that are used to construct the model.

KwargsArray
Logits

The logit of the observations for each state.

ObservationModelType

The type of Observations model.

Params

The parameters that are used to define the model.

Methods

CheckKwargs(params object[])

Checks if the keyword arguments are valid.

CheckParams(params object[])

Checks if the parameters are valid.

Process()

Returns an observable sequence of CategoricalObservations objects.

Process(IObservable<PyObject>)

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

UpdateKwargs(params object[])

Updates the kwargs dictionary.

UpdateParams(params object[])

Updates the parameters.