Search Results for

    Show / Hide Table of Contents

    Class UsesEqualDefVmpOp

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

    Inheritance
    Object
    UsesEqualDefVmpOp
    Inherited Members
    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), "UsesEqualDef<>", new Type[]{})]
    [Quality(QualityBand.Mature)]
    public static class UsesEqualDefVmpOp

    Methods

    AverageLogFactor<T>(T)

    Evidence message for VMP.

    Declaration
    public static double AverageLogFactor<T>(T to_marginal)
        where T : CanGetAverageLog<T>
    Parameters
    Type Name Description
    T to_marginal

    Outgoing message to marginal.

    Returns
    Type Description
    Double

    Average of the factor's log-value across the given argument distributions.

    Type Parameters
    Name Description
    T

    The type of the messages.

    Remarks

    The formula for the result is log(factor(Uses,Def,count,Marginal)). Adding up these values across all factors and variables gives the log-evidence estimate for VMP.

    DefAverageLogarithm<T>(IReadOnlyList<T>, T, T)

    Declaration
    [SkipIfAllUniform]
    public static T DefAverageLogarithm<T>(IReadOnlyList<T> Uses, T Def, T result)
        where T : SettableToProduct<T>, SettableTo<T>
    Parameters
    Type Name Description
    IReadOnlyList<T> Uses
    T Def
    T result
    Returns
    Type Description
    T
    Type Parameters
    Name Description
    T

    The type of the messages.

    MarginalAverageLogarithm<T>(IReadOnlyList<T>, T, T)

    Declaration
    [SkipIfAllUniform]
    public static T MarginalAverageLogarithm<T>(IReadOnlyList<T> Uses, T Def, T result)
        where T : SettableToProduct<T>, SettableTo<T>
    Parameters
    Type Name Description
    IReadOnlyList<T> Uses
    T Def
    T result
    Returns
    Type Description
    T
    Type Parameters
    Name Description
    T

    The type of the messages.

    UsesAverageLogarithm<T>(IReadOnlyList<T>, T, Int32, T)

    Declaration
    [SkipIfAllUniform]
    public static T UsesAverageLogarithm<T>(IReadOnlyList<T> Uses, T Def, int resultIndex, T result)
        where T : SettableToProduct<T>, SettableTo<T>
    Parameters
    Type Name Description
    IReadOnlyList<T> Uses
    T Def
    Int32 resultIndex
    T result
    Returns
    Type Description
    T
    Type Parameters
    Name Description
    T

    The type of the messages.

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