Class GaussianProductOpBase
Provides outgoing messages for the following factors:
, given random arguments to the function.Inherited Members
Namespace: Microsoft.ML.Probabilistic.Factors
Assembly: Microsoft.ML.Probabilistic.dll
Syntax
public class GaussianProductOpBase
Methods
AAverageConditional(Gaussian, Double)
EP message to a.
Declaration
public static Gaussian AAverageConditional(Gaussian Product, double B)
Parameters
| Type | Name | Description |
|---|---|---|
| Gaussian | Product | Incoming message from |
| Double | B | Constant value for |
Returns
| Type | Description |
|---|---|
| Gaussian | The outgoing EP message to the |
Remarks
The outgoing message is a distribution matching the moments of a as the random arguments are varied. The formula is proj[p(a) sum_(product) p(product) factor(product,a,b)]/p(a).
Exceptions
| Type | Condition |
|---|---|
| ImproperMessageException |
|
AAverageConditional(TruncatedGaussian, Double)
EP message to a.
Declaration
public static TruncatedGaussian AAverageConditional(TruncatedGaussian Product, double B)
Parameters
| Type | Name | Description |
|---|---|---|
| TruncatedGaussian | Product | Incoming message from |
| Double | B | Constant value for |
Returns
| Type | Description |
|---|---|
| TruncatedGaussian | The outgoing EP message to the |
Remarks
The outgoing message is a distribution matching the moments of a as the random arguments are varied. The formula is proj[p(a) sum_(product) p(product) factor(product,a,b)]/p(a).
Exceptions
| Type | Condition |
|---|---|
| ImproperMessageException |
|
AAverageConditional(Double, Double)
EP message to a.
Declaration
public static Gaussian AAverageConditional(double Product, double B)
Parameters
| Type | Name | Description |
|---|---|---|
| Double | Product | Constant value for |
| Double | B | Constant value for |
Returns
| Type | Description |
|---|---|
| Gaussian | The outgoing EP message to the |
Remarks
The outgoing message is the factor viewed as a function of a conditioned on the given values.
BAverageConditional(Gaussian, Double)
EP message to b.
Declaration
public static Gaussian BAverageConditional(Gaussian Product, double A)
Parameters
| Type | Name | Description |
|---|---|---|
| Gaussian | Product | Incoming message from |
| Double | A | Constant value for |
Returns
| Type | Description |
|---|---|
| Gaussian | The outgoing EP message to the |
Remarks
The outgoing message is a distribution matching the moments of b as the random arguments are varied. The formula is proj[p(b) sum_(product) p(product) factor(product,a,b)]/p(b).
Exceptions
| Type | Condition |
|---|---|
| ImproperMessageException |
|
BAverageConditional(TruncatedGaussian, Double)
EP message to b.
Declaration
public static TruncatedGaussian BAverageConditional(TruncatedGaussian Product, double A)
Parameters
| Type | Name | Description |
|---|---|---|
| TruncatedGaussian | Product | Incoming message from |
| Double | A | Constant value for |
Returns
| Type | Description |
|---|---|
| TruncatedGaussian | The outgoing EP message to the |
Remarks
The outgoing message is a distribution matching the moments of b as the random arguments are varied. The formula is proj[p(b) sum_(product) p(product) factor(product,a,b)]/p(b).
Exceptions
| Type | Condition |
|---|---|
| ImproperMessageException |
|
BAverageConditional(Double, Double)
EP message to b.
Declaration
public static Gaussian BAverageConditional(double Product, double A)
Parameters
| Type | Name | Description |
|---|---|---|
| Double | Product | Constant value for |
| Double | A | Constant value for |
Returns
| Type | Description |
|---|---|
| Gaussian | The outgoing EP message to the |
Remarks
The outgoing message is the factor viewed as a function of b conditioned on the given values.
ProductAverageConditional(Gaussian, Double)
EP message to product.
Declaration
public static Gaussian ProductAverageConditional(Gaussian A, double B)
Parameters
| Type | Name | Description |
|---|---|---|
| Gaussian | A | Incoming message from |
| Double | B | Constant value for |
Returns
| Type | Description |
|---|---|
| Gaussian | The outgoing EP message to the |
Remarks
The outgoing message is a distribution matching the moments of product as the random arguments are varied. The formula is proj[p(product) sum_(a) p(a) factor(product,a,b)]/p(product).
Exceptions
| Type | Condition |
|---|---|
| ImproperMessageException |
|
ProductAverageConditional(TruncatedGaussian, Double)
EP message to product.
Declaration
public static TruncatedGaussian ProductAverageConditional(TruncatedGaussian A, double B)
Parameters
| Type | Name | Description |
|---|---|---|
| TruncatedGaussian | A | Incoming message from |
| Double | B | Constant value for |
Returns
| Type | Description |
|---|---|
| TruncatedGaussian | The outgoing EP message to the |
Remarks
The outgoing message is a distribution matching the moments of product as the random arguments are varied. The formula is proj[p(product) sum_(a) p(a) factor(product,a,b)]/p(product).
Exceptions
| Type | Condition |
|---|---|
| ImproperMessageException |
|
ProductAverageConditional(Double, Gaussian)
EP message to product.
Declaration
public static Gaussian ProductAverageConditional(double A, Gaussian B)
Parameters
| Type | Name | Description |
|---|---|---|
| Double | A | Constant value for |
| Gaussian | B | Incoming message from |
Returns
| Type | Description |
|---|---|
| Gaussian | The outgoing EP message to the |
Remarks
The outgoing message is a distribution matching the moments of product as the random arguments are varied. The formula is proj[p(product) sum_(b) p(b) factor(product,a,b)]/p(product).
Exceptions
| Type | Condition |
|---|---|
| ImproperMessageException |
|
ProductAverageConditional(Double, TruncatedGaussian)
EP message to product.
Declaration
public static TruncatedGaussian ProductAverageConditional(double A, TruncatedGaussian B)
Parameters
| Type | Name | Description |
|---|---|---|
| Double | A | Constant value for |
| TruncatedGaussian | B | Incoming message from |
Returns
| Type | Description |
|---|---|
| TruncatedGaussian | The outgoing EP message to the |
Remarks
The outgoing message is a distribution matching the moments of product as the random arguments are varied. The formula is proj[p(product) sum_(b) p(b) factor(product,a,b)]/p(product).
Exceptions
| Type | Condition |
|---|---|
| ImproperMessageException |
|
ProductAverageConditional(Double, Double)
EP message to product.
Declaration
public static Gaussian ProductAverageConditional(double a, double b)
Parameters
| Type | Name | Description |
|---|---|---|
| Double | a | Constant value for |
| Double | b | Constant value for |
Returns
| Type | Description |
|---|---|
| Gaussian | The outgoing EP message to the |
Remarks
The outgoing message is the factor viewed as a function of product conditioned on the given values.