Class DoublePlusOp_NoSkip
Inherited Members
Namespace: Microsoft.ML.Probabilistic.Factors
Assembly: Microsoft.ML.Probabilistic.dll
Syntax
[FactorMethod(typeof(NoSkip), "Plus", new Type[]{typeof(double), typeof(double)}, Default = true)]
[FactorMethod(new string[]{"A", "Sum", "B"}, typeof(NoSkip), "Difference", new Type[]{typeof(double), typeof(double)}, Default = true)]
[Quality(QualityBand.Experimental)]
public static class DoublePlusOp_NoSkip
Methods
AAverageConditional(Gaussian, Gaussian)
Declaration
public static Gaussian AAverageConditional(Gaussian Sum, Gaussian b)
Parameters
| Type | Name | Description |
|---|---|---|
| Gaussian | Sum | |
| Gaussian | b |
Returns
| Type | Description |
|---|---|
| Gaussian |
BAverageConditional(Gaussian, Gaussian)
Declaration
public static Gaussian BAverageConditional(Gaussian Sum, Gaussian a)
Parameters
| Type | Name | Description |
|---|---|---|
| Gaussian | Sum | |
| Gaussian | a |
Returns
| Type | Description |
|---|---|
| Gaussian |
SumAverageConditional(Gaussian, Gaussian)
EP message to a.
Declaration
public static Gaussian SumAverageConditional(Gaussian a, Gaussian b)
Parameters
| Type | Name | Description |
|---|---|---|
| Gaussian | a | Incoming message from |
| 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 a as the random arguments are varied. The formula is proj[p(a) sum_(difference,b) p(difference,b) factor(difference,a,b)]/p(a).
Exceptions
| Type | Condition |
|---|---|
| ImproperMessageException |
|
| ImproperMessageException |
|