Class ExpOp_BFGS
Provides outgoing messages for Exp(Double), given random arguments to the function.
Inherited Members
Namespace: Microsoft.ML.Probabilistic.Factors
Assembly: Microsoft.ML.Probabilistic.dll
Syntax
[FactorMethod(typeof(Math), "Exp", new Type[]{typeof(double)})]
[Quality(QualityBand.Preview)]
public class ExpOp_BFGS
Methods
DAverageLogarithm(Gamma, Gaussian, Gaussian)
VMP message to d
.
Declaration
public static Gaussian DAverageLogarithm(Gamma exp, Gaussian d, Gaussian to_d)
Parameters
Type | Name | Description |
---|---|---|
Gamma | exp | Incoming message from |
Gaussian | d | Incoming message from |
Gaussian | to_d | Previous outgoing message to |
Returns
Type | Description |
---|---|
Gaussian | The outgoing VMP message to the |
Remarks
The outgoing message is the factor viewed as a function of d
with exp
integrated out. The formula is sum_exp p(exp) factor(exp,d)
.
Exceptions
Type | Condition |
---|---|
ImproperMessageException |
|
ImproperMessageException |
|