Search Results for

    Show / Hide Table of Contents

    Class VariationalMessagePassing

    The variational message passing algorithm, see also
    http://www.johnwinn.org/Research/VMP.html and http://en.wikipedia.org/wiki/Variational_message_passing.

    Inheritance
    Object
    AlgorithmBase
    VariationalMessagePassing
    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 VariationalMessagePassing : AlgorithmBase, IAlgorithm

    Fields

    UseDerivMessages

    Declaration
    public bool UseDerivMessages
    Field Value
    Type Description
    Boolean

    UseGateExitRandom

    Declaration
    public bool UseGateExitRandom
    Field Value
    Type Description
    Boolean

    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 variational message passing 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 variational message passing 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.