Class KFModelParameters
- Namespace
- Bonsai.ML.LinearDynamicalSystems.LinearRegression
- Assembly
- Bonsai.ML.LinearDynamicalSystems.dll
Represents an operator that creates the model parameters for a Kalman Filter Linear Regression python class
[Combinator]
[WorkflowElementCategory(ElementCategory.Source)]
public class KFModelParameters
- Inheritance
-
KFModelParameters
- Inherited Members
Constructors
KFModelParameters()
Constructs a KF Model Parameters class.
public KFModelParameters()
Properties
LikelihoodPrecisionCoefficient
Gets or sets the likelihood precision coefficient.
[JsonProperty("likelihood_precision_coef")]
public double LikelihoodPrecisionCoefficient { get; set; }
Property Value
NumFeatures
Gets or sets the number of features present in the model.
[JsonProperty("n_features")]
public int NumFeatures { get; set; }
Property Value
P
Gets or sets the matrix representing the covariance between state components.
[JsonProperty("P")]
public double[,] P { get; set; }
Property Value
- double[,]
PriorPrecisionCoefficient
Gets or sets the prior precision coefficient.
[JsonProperty("prior_precision_coef")]
public double PriorPrecisionCoefficient { get; set; }
Property Value
X
Gets or sets the matrix representing the mean of the state.
[JsonProperty("x")]
public double[,] X { get; set; }
Property Value
- double[,]
Methods
Process()
Generates parameters for a Kalman Filter Linear Regression Model
public IObservable<KFModelParameters> Process()
Returns
Process(IObservable<PyObject>)
Gets the model parameters from a PyObject of a Kalman Filter Linear Regression Model
public IObservable<KFModelParameters> Process(IObservable<PyObject> source)
Parameters
sourceIObservable<PyObject>
Returns
Process<TSource>(IObservable<TSource>)
Generates parameters for a Kalman Filter Linear Regression Model on each input
public IObservable<KFModelParameters> Process<TSource>(IObservable<TSource> source)
Parameters
sourceIObservable<TSource>
Returns
Type Parameters
TSource
ToString()
Returns a string that represents the current object.
public override string ToString()
Returns
- string
A string that represents the current object.