Search Results for

    Show / Hide Table of Contents

    Class VariablePointOp<T>

    Provides outgoing messages for VariablePoint<T>(T, out T), given random arguments to the function.

    Inheritance
    Object
    VariablePointOpBase
    VariablePointOp<T>
    Inherited Members
    VariablePointOpBase.LogEvidenceRatio<TDist>(TDist, TDist, TDist)
    VariablePointOpBase.MarginalAverageConditionalInit<TDist>(TDist)
    VariablePointOpBase.UseAverageConditional<TDist>(TDist)
    VariablePointOpBase.DefAverageConditional<TDist>(TDist)
    VariablePointOpBase.AverageLogFactor()
    VariablePointOpBase.UseAverageLogarithm<TDist>(TDist)
    VariablePointOpBase.DefAverageLogarithm<TDist>(TDist)
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Object.ReferenceEquals(Object, Object)
    Object.ToString()
    Namespace: Microsoft.ML.Probabilistic.Factors
    Assembly: Microsoft.ML.Probabilistic.dll
    Syntax
    [FactorMethod(typeof(Clone), "VariablePoint<>", new Type[]{}, Default = false)]
    [Quality(QualityBand.Preview)]
    public class VariablePointOp<T> : VariablePointOpBase
    Type Parameters
    Name Description
    T

    The type of the variable.

    Methods

    MarginalAverageConditional<TDist>(TDist, TDist, TDist)

    EP message to marginal.

    Declaration
    [SkipIfAllUniform]
    public static TDist MarginalAverageConditional<TDist>(TDist use, TDist def, TDist result)
        where TDist : SettableToProduct<TDist>, HasPoint<T>, CanGetMode<T>
    Parameters
    Type Name Description
    TDist use

    Incoming message from use.

    TDist def

    Incoming message from def.

    TDist result

    Modified to contain the outgoing message.

    Returns
    Type Description
    TDist

    result

    Type Parameters
    Name Description
    TDist

    The type of the marginal of the variable.

    Remarks

    The outgoing message is a distribution matching the moments of marginal as the random arguments are varied. The formula is proj[p(marginal) sum_(use,def) p(use,def) factor(use,def,marginal)]/p(marginal).

    MarginalAverageLogarithm<TDist>(TDist, TDist, TDist)

    VMP message to marginal.

    Declaration
    [SkipIfAllUniform]
    public static TDist MarginalAverageLogarithm<TDist>(TDist use, TDist def, TDist result)
        where TDist : SettableToProduct<TDist>, HasPoint<T>, CanGetMode<T>
    Parameters
    Type Name Description
    TDist use

    Incoming message from use.

    TDist def

    Incoming message from def.

    TDist result

    Modified to contain the outgoing message.

    Returns
    Type Description
    TDist

    result

    Type Parameters
    Name Description
    TDist

    The type of the marginal of the variable.

    Remarks

    The outgoing message is the exponential of the average log-factor value, where the average is over all arguments except marginal. The formula is exp(sum_(use,def) p(use,def) log(factor(use,def,marginal))).

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