Class ExpectationPropagation
The expectation propagation inference algorithm, see also
http://research.microsoft.com/~minka/papers/ep/roadmap.html.
Implements
Inherited Members
Namespace: Microsoft.ML.Probabilistic.Algorithms
Assembly: Microsoft.ML.Probabilistic.Compiler.dll
Syntax
public class ExpectationPropagation : AlgorithmBase, IAlgorithm
Properties
Name
Name of the algorithm
Declaration
public override string Name { get; }
Property Value
| Type | Description |
|---|---|
| String |
Overrides
ShortName
Short name of the algorithm
Declaration
public override string ShortName { get; }
Property Value
| Type | Description |
|---|---|
| String |
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
| Type | Description |
|---|---|
| MethodReference | A method reference for the operator |
Overrides
GetEvidenceMethodName(List<ICompilerAttribute>)
Gets the suffix for Expectation Propagation evidence method
Declaration
public override string GetEvidenceMethodName(List<ICompilerAttribute> factorAttributes)
Parameters
| Type | Name | Description |
|---|---|---|
| List<ICompilerAttribute> | factorAttributes |
Returns
| Type | Description |
|---|---|
| String |
Overrides
GetOperatorMethodSuffix(List<ICompilerAttribute>)
Gets the suffix for Expectation Propagation operator methods
Declaration
public override string GetOperatorMethodSuffix(List<ICompilerAttribute> factorAttributes)
Parameters
| Type | Name | Description |
|---|---|---|
| List<ICompilerAttribute> | factorAttributes |
Returns
| Type | Description |
|---|---|
| String |
Overrides
GetVariableFactor(Boolean, Boolean)
Declaration
public override Delegate GetVariableFactor(bool derived, bool initialised)
Parameters
| Type | Name | Description |
|---|---|---|
| Boolean | derived | |
| Boolean | initialised |
Returns
| Type | Description |
|---|---|
| Delegate |