Class SumOp3
Provides outgoing messages for Sum(IList<Double>), given random arguments to the function.
Inherited Members
Namespace: Microsoft.ML.Probabilistic.Factors
Assembly: Microsoft.ML.Probabilistic.dll
Syntax
[FactorMethod(typeof(Factor), "Sum", new Type[]{typeof(double[])}, Default = false)]
[Quality(QualityBand.Experimental)]
public static class SumOp3
Methods
ArrayAverageLogarithm<GaussianList>(Gaussian, IList<Gaussian>, GaussianList)
VMP message to array
.
Declaration
public static GaussianList ArrayAverageLogarithm<GaussianList>(Gaussian sum, IList<Gaussian> array, GaussianList result)
where GaussianList : IList<Gaussian>
Parameters
Type | Name | Description |
---|---|---|
Gaussian | sum | Incoming message from |
IList<Gaussian> | array | Incoming message from |
GaussianList | result | Modified to contain the outgoing message. |
Returns
Type | Description |
---|---|
GaussianList |
|
Type Parameters
Name | Description |
---|---|
GaussianList | The type of the message to |
Remarks
The outgoing message is the factor viewed as a function of array
with sum
integrated out. The formula is sum_sum p(sum) factor(sum,array)
.
Exceptions
Type | Condition |
---|---|
ImproperMessageException |
|
ImproperMessageException |
|