Table of Contents

Class BernoulliObservations

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

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

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

Constructors

BernoulliObservations()

Constructs a new instance of the PythonModel class.

BernoulliObservations(params object[])

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

Properties

LogitPs

The logit P 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 BernoulliObservations objects.

Process(IObservable<PyObject>)

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

UpdateParams(params object[])

Updates the parameters.