Search Results for

    Show / Hide Table of Contents

    Class GaussianRatioEvidenceOp

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

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

    Methods

    LogAverageFactor(Gaussian, Gaussian, Double, Gaussian)

    Evidence message for EP.

    Declaration
    public static double LogAverageFactor(Gaussian ratio, Gaussian a, double b, Gaussian to_ratio)
    Parameters
    Type Name Description
    Gaussian ratio

    Incoming message from ratio.

    Gaussian a

    Incoming message from a.

    Double b

    Constant value for b.

    Gaussian to_ratio

    Outgoing message to ratio.

    Returns
    Type Description
    Double

    Logarithm of the factor's average value across the given argument distributions.

    Remarks

    The formula for the result is log(sum_(ratio,a) p(ratio,a) factor(ratio,a,b)).

    LogAverageFactor(Gaussian, Double, Gaussian, Gaussian)

    Evidence message for EP.

    Declaration
    public static double LogAverageFactor(Gaussian ratio, double a, Gaussian b, Gaussian to_ratio)
    Parameters
    Type Name Description
    Gaussian ratio

    Incoming message from ratio.

    Double a

    Constant value for a.

    Gaussian b

    Incoming message from b.

    Gaussian to_ratio

    Outgoing message to ratio.

    Returns
    Type Description
    Double

    Logarithm of the factor's average value across the given argument distributions.

    Remarks

    The formula for the result is log(sum_(ratio,b) p(ratio,b) factor(ratio,a,b)).

    LogAverageFactor(Gaussian, Double, Double)

    Evidence message for EP.

    Declaration
    public static double LogAverageFactor(Gaussian ratio, double a, double b)
    Parameters
    Type Name Description
    Gaussian ratio

    Incoming message from ratio.

    Double a

    Constant value for a.

    Double b

    Constant value for b.

    Returns
    Type Description
    Double

    Logarithm of the factor's average value across the given argument distributions.

    Remarks

    The formula for the result is log(sum_(ratio) p(ratio) factor(ratio,a,b)).

    LogAverageFactor(Double, Gaussian, Double)

    Evidence message for EP.

    Declaration
    public static double LogAverageFactor(double ratio, Gaussian a, double b)
    Parameters
    Type Name Description
    Double ratio

    Constant value for ratio.

    Gaussian a

    Incoming message from a.

    Double b

    Constant value for b.

    Returns
    Type Description
    Double

    Logarithm of the factor's average value across the given argument distributions.

    Remarks

    The formula for the result is log(sum_(a) p(a) factor(ratio,a,b)).

    LogAverageFactor(Double, Double, Gaussian)

    Evidence message for EP.

    Declaration
    public static double LogAverageFactor(double ratio, double a, Gaussian b)
    Parameters
    Type Name Description
    Double ratio

    Constant value for ratio.

    Double a

    Constant value for a.

    Gaussian b

    Incoming message from b.

    Returns
    Type Description
    Double

    Logarithm of the factor's average value across the given argument distributions.

    Remarks

    The formula for the result is log(sum_(b) p(b) factor(ratio,a,b)).

    LogAverageFactor(Double, Double, Double)

    Evidence message for EP.

    Declaration
    public static double LogAverageFactor(double ratio, double a, double b)
    Parameters
    Type Name Description
    Double ratio

    Constant value for ratio.

    Double a

    Constant value for a.

    Double b

    Constant value for b.

    Returns
    Type Description
    Double

    Logarithm of the factor's average value across the given argument distributions.

    Remarks

    The formula for the result is log(factor(ratio,a,b)).

    LogEvidenceRatio(Gaussian, Gaussian, Double)

    Evidence message for EP.

    Declaration
    public static double LogEvidenceRatio(Gaussian ratio, Gaussian a, double b)
    Parameters
    Type Name Description
    Gaussian ratio

    Incoming message from ratio.

    Gaussian a

    Incoming message from 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(sum_(ratio,a) p(ratio,a) factor(ratio,a,b) / sum_ratio p(ratio) messageTo(ratio)). Adding up these values across all factors and variables gives the log-evidence estimate for EP.

    LogEvidenceRatio(Gaussian, Double, Gaussian)

    Evidence message for EP.

    Declaration
    public static double LogEvidenceRatio(Gaussian ratio, double a, Gaussian b)
    Parameters
    Type Name Description
    Gaussian ratio

    Incoming message from ratio.

    Double a

    Constant value for a.

    Gaussian b

    Incoming message from b.

    Returns
    Type Description
    Double

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

    Remarks

    The formula for the result is log(sum_(ratio,b) p(ratio,b) factor(ratio,a,b) / sum_ratio p(ratio) messageTo(ratio)). Adding up these values across all factors and variables gives the log-evidence estimate for EP.

    LogEvidenceRatio(Double, Gaussian, Double)

    Evidence message for EP.

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

    Constant value for ratio.

    Gaussian a

    Incoming message from 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(sum_(a) p(a) factor(ratio,a,b)). Adding up these values across all factors and variables gives the log-evidence estimate for EP.

    LogEvidenceRatio(Double, Double, Gaussian)

    Evidence message for EP.

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

    Constant value for ratio.

    Double a

    Constant value for a.

    Gaussian b

    Incoming message from 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(ratio,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 ratio, double a, double b)
    Parameters
    Type Name Description
    Double ratio

    Constant value for ratio.

    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(ratio,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.