Class VariablePointOp_RpropTruncatedGamma
Inherited Members
Namespace: Microsoft.ML.Probabilistic.Factors
Assembly: Microsoft.ML.Probabilistic.dll
Syntax
[FactorMethod(typeof(Clone), "VariablePoint<>", new Type[]{}, Default = true)]
[Buffers(new string[]{"bufferTGa"})]
[Quality(QualityBand.Preview)]
public class VariablePointOp_RpropTruncatedGamma : VariablePointOpBase
Methods
BufferTGa(TruncatedGamma, TruncatedGamma, TruncatedGamma, RpropBufferData)
Declaration
[SkipIfAllUniform]
public static RpropBufferData BufferTGa(TruncatedGamma use, TruncatedGamma def, TruncatedGamma to_marginal, RpropBufferData bufferTGa)
Parameters
Type | Name | Description |
---|---|---|
TruncatedGamma | use | |
TruncatedGamma | def | |
TruncatedGamma | to_marginal | |
RpropBufferData | bufferTGa |
Returns
Type | Description |
---|---|
RpropBufferData |
BufferTGaInit()
Declaration
public static RpropBufferData BufferTGaInit()
Returns
Type | Description |
---|---|
RpropBufferData |
MarginalAverageConditional(TruncatedGamma, TruncatedGamma, RpropBufferData, TruncatedGamma)
EP message to marginal
.
Declaration
public static TruncatedGamma MarginalAverageConditional(TruncatedGamma use, TruncatedGamma def, RpropBufferData bufferTGa, TruncatedGamma result)
Parameters
Type | Name | Description |
---|---|---|
TruncatedGamma | use | Incoming message from |
TruncatedGamma | def | Incoming message from |
RpropBufferData | bufferTGa | Buffer |
TruncatedGamma | result | Modified to contain the outgoing message. |
Returns
Type | Description |
---|---|
TruncatedGamma |
|
Remarks
The outgoing message is a distribution matching the moments of marginal
as the random arguments are varied. The formula is proj[p(marginal) sum_(use,def) p(use,def) factor(use,def,marginal)]/p(marginal)
.