Search Results for

    Show / Hide Table of Contents

    Class DoublePlusEvidenceOp

    Provides outgoing messages for Plus(Double, Double), given random arguments to the function.

    Inheritance
    Object
    DoublePlusEvidenceOp
    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(Factor), "Plus", new Type[]{typeof(double), typeof(double)})]
    [Quality(QualityBand.Stable)]
    public static class DoublePlusEvidenceOp

    Methods

    LogEvidenceRatio(Gaussian)

    Evidence message for EP.

    Declaration
    public static double LogEvidenceRatio(Gaussian Sum)
    Parameters
    Type Name Description
    Gaussian Sum

    Incoming message from Sum.

    Returns
    Type Description
    Double

    Logarithm of the factor's contribution the EP model evidence.

    Remarks

    The formula for the result is log(sum_(Sum) p(Sum) factor(Sum,A,B) / sum_Sum p(Sum) messageTo(Sum)). Adding up these values across all factors and variables gives the log-evidence estimate for EP.

    LogEvidenceRatio(Double, Gaussian, Gaussian)

    Evidence message for EP.

    Declaration
    public static double LogEvidenceRatio(double Sum, Gaussian a, Gaussian to_a)
    Parameters
    Type Name Description
    Double Sum

    Constant value for Sum.

    Gaussian a

    Incoming message from A.

    Gaussian to_a

    Outgoing message to a.

    Returns
    Type Description
    Double

    Logarithm of the factor's contribution the EP model evidence.

    Remarks

    The formula for the result is log(sum_(A) p(A) factor(Sum,A,B)). Adding up these values across all factors and variables gives the log-evidence estimate for EP.

    LogEvidenceRatio(Double, Double, Gaussian, Gaussian)

    Evidence message for EP.

    Declaration
    public static double LogEvidenceRatio(double Sum, double a, Gaussian b, Gaussian to_b)
    Parameters
    Type Name Description
    Double Sum

    Constant value for Sum.

    Double a

    Constant value for A.

    Gaussian b

    Incoming message from B.

    Gaussian to_b

    Outgoing message to b.

    Returns
    Type Description
    Double

    Logarithm of the factor's contribution the EP model evidence.

    Remarks

    The formula for the result is log(sum_(B) p(B) factor(Sum,A,B)). Adding up these values across all factors and variables gives the log-evidence estimate for EP.

    LogEvidenceRatio(Double, Double, Double)

    Evidence message for EP.

    Declaration
    public static double LogEvidenceRatio(double Sum, double a, double b)
    Parameters
    Type Name Description
    Double Sum

    Constant value for Sum.

    Double a

    Constant value for A.

    Double b

    Constant value for B.

    Returns
    Type Description
    Double

    Logarithm of the factor's contribution the EP model evidence.

    Remarks

    The formula for the result is log(factor(Sum,A,B)). Adding up these values across all factors and variables gives the log-evidence estimate for EP.

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