Class VariationalMessagePassing
Inheritance
VariationalMessagePassing
Assembly: Microsoft.ML.Probabilistic.Compiler.dll
Syntax
public class VariationalMessagePassing : AlgorithmBase, IAlgorithm
Fields
UseDerivMessages
Declaration
public bool UseDerivMessages
Field Value
UseGateExitRandom
Declaration
public bool UseGateExitRandom
Field Value
Properties
Name
Declaration
public override string Name { get; }
Property Value
Overrides
ShortName
Short name of the algorithm
Declaration
public override string ShortName { get; }
Property Value
Overrides
Methods
GetAlgorithmConversionOperator(Type, IAlgorithm, Boolean, List<Object>)
Gets the operator which converts a message to/from another algorithm
Declaration
public override MethodReference GetAlgorithmConversionOperator(Type channelType, IAlgorithm alg2, bool isFromFactor, List<object> args)
Parameters
| Type |
Name |
Description |
| Type |
channelType |
Type of message
|
| IAlgorithm |
alg2 |
The other algorithm
|
| Boolean |
isFromFactor |
True if from, false if to
|
| List<Object> |
args |
Where to add arguments of the operator
|
Returns
Overrides
GetEvidenceMethodName(List<ICompilerAttribute>)
Gets the suffix for variational message passing evidence method
Declaration
public override string GetEvidenceMethodName(List<ICompilerAttribute> factorAttributes)
Parameters
Returns
Overrides
GetOperatorMethodSuffix(List<ICompilerAttribute>)
Gets the suffix for variational message passing operator methods
Declaration
public override string GetOperatorMethodSuffix(List<ICompilerAttribute> factorAttributes)
Parameters
Returns
Overrides
GetVariableFactor(Boolean, Boolean)
Declaration
public override Delegate GetVariableFactor(bool derived, bool initialised)
Parameters
Returns
Overrides
Implements