Search Results for

    Show / Hide Table of Contents

    Class ExpectationPropagation

    The expectation propagation inference algorithm, see also
    http://research.microsoft.com/~minka/papers/ep/roadmap.html.

    Inheritance
    Object
    AlgorithmBase
    ExpectationPropagation
    Implements
    IAlgorithm
    Inherited Members
    AlgorithmBase.GetMessagePrototype(ChannelInfo, MessageDirection, IExpression, String, IList<QueryType>)
    AlgorithmBase.ModifyFactorAttributes(IExpression, AttributeRegistry<Object, ICompilerAttribute>)
    AlgorithmBase.ForEachDefaultQueryType(Action<QueryType>)
    AlgorithmBase.GetQueryTypeBinding(QueryType)
    AlgorithmBase.DefaultNumberOfIterations
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Object.ReferenceEquals(Object, Object)
    Object.ToString()
    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
    AlgorithmBase.Name

    ShortName

    Short name of the algorithm

    Declaration
    public override string ShortName { get; }
    Property Value
    Type Description
    String
    Overrides
    AlgorithmBase.ShortName

    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
    AlgorithmBase.GetAlgorithmConversionOperator(Type, IAlgorithm, Boolean, List<Object>)

    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
    AlgorithmBase.GetEvidenceMethodName(List<ICompilerAttribute>)

    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
    AlgorithmBase.GetOperatorMethodSuffix(List<ICompilerAttribute>)

    GetVariableFactor(Boolean, Boolean)

    Declaration
    public override Delegate GetVariableFactor(bool derived, bool initialised)
    Parameters
    Type Name Description
    Boolean derived
    Boolean initialised
    Returns
    Type Description
    Delegate
    Overrides
    AlgorithmBase.GetVariableFactor(Boolean, Boolean)

    Implements

    IAlgorithm
    In This Article
    Back to top Copyright © .NET Foundation. All rights reserved.