Class VariablePointOp_RpropTruncatedGaussian
Inherited Members
Namespace: Microsoft.ML.Probabilistic.Factors
Assembly: Microsoft.ML.Probabilistic.dll
Syntax
[FactorMethod(typeof(Clone), "VariablePoint<>", new Type[]{}, Default = true)]
[Buffers(new string[]{"bufferTG"})]
[Quality(QualityBand.Preview)]
public class VariablePointOp_RpropTruncatedGaussian : VariablePointOpBase
Methods
BufferTG(TruncatedGaussian, TruncatedGaussian, TruncatedGaussian, RpropBufferData)
Declaration
[SkipIfAllUniform]
public static RpropBufferData BufferTG(TruncatedGaussian use, TruncatedGaussian def, TruncatedGaussian to_marginal, RpropBufferData bufferTG)
Parameters
| Type | Name | Description |
|---|---|---|
| TruncatedGaussian | use | |
| TruncatedGaussian | def | |
| TruncatedGaussian | to_marginal | |
| RpropBufferData | bufferTG |
Returns
| Type | Description |
|---|---|
| RpropBufferData |
BufferTGInit()
Declaration
public static RpropBufferData BufferTGInit()
Returns
| Type | Description |
|---|---|
| RpropBufferData |
MarginalAverageConditional(TruncatedGaussian, TruncatedGaussian, RpropBufferData, TruncatedGaussian)
EP message to marginal.
Declaration
public static TruncatedGaussian MarginalAverageConditional(TruncatedGaussian use, TruncatedGaussian def, RpropBufferData bufferTG, TruncatedGaussian result)
Parameters
| Type | Name | Description |
|---|---|---|
| TruncatedGaussian | use | Incoming message from |
| TruncatedGaussian | def | Incoming message from |
| RpropBufferData | bufferTG | Buffer |
| TruncatedGaussian | result | Modified to contain the outgoing message. |
Returns
| Type | Description |
|---|---|
| TruncatedGaussian |
|
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).