Class MaxProductBeliefPropagation
Max product belief propagation.
Inheritance
MaxProductBeliefPropagation
Assembly: Microsoft.ML.Probabilistic.Compiler.dll
Syntax
public class MaxProductBeliefPropagation : AlgorithmBase, IAlgorithm
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 Max Product evidence method
Declaration
public override string GetEvidenceMethodName(List<ICompilerAttribute> factorAttributes)
Parameters
Returns
Overrides
Declaration
public override IExpression GetMessagePrototype(ChannelInfo channelInfo, MessageDirection direction, IExpression marginalPrototypeExpression, string path, IList<QueryType> queryTypes)
Parameters
Returns
Overrides
GetOperatorMethodSuffix(List<ICompilerAttribute>)
Gets the suffix for Max Product 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