Search Results for

    Show / Hide Table of Contents

    Class ExpOp_Slow

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

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

    Fields

    QuadratureNodeCount

    Declaration
    public static int QuadratureNodeCount
    Field Value
    Type Description
    Int32

    Methods

    DAverageConditional(Gamma, Gaussian)

    Declaration
    public static Gaussian DAverageConditional(Gamma exp, Gaussian d)
    Parameters
    Type Name Description
    Gamma exp
    Gaussian d
    Returns
    Type Description
    Gaussian

    DAverageConditional(Gamma, Double)

    Declaration
    public static Gaussian DAverageConditional(Gamma exp, double d)
    Parameters
    Type Name Description
    Gamma exp
    Double d
    Returns
    Type Description
    Gaussian

    DAverageConditional(GammaPower, Gaussian)

    EP message to d.

    Declaration
    public static Gaussian DAverageConditional(GammaPower exp, Gaussian d)
    Parameters
    Type Name Description
    GammaPower exp

    Incoming message from exp. Must be a proper distribution. If uniform, the result will be uniform.

    Gaussian d

    Incoming message from d. Must be a proper distribution. If uniform, the result will be uniform.

    Returns
    Type Description
    Gaussian

    The outgoing EP message to the d argument.

    Remarks

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

    Exceptions
    Type Condition
    ImproperMessageException

    exp is not a proper distribution.

    ImproperMessageException

    d is not a proper distribution.

    FindMaximum(Gamma, Gaussian)

    Declaration
    public static double FindMaximum(Gamma exp, Gaussian d)
    Parameters
    Type Name Description
    Gamma exp
    Gaussian d
    Returns
    Type Description
    Double

    GetIntegrationBounds(Gamma, Gaussian, out Double, out Double, out Double)

    Declaration
    public static void GetIntegrationBounds(Gamma exp, Gaussian d, out double dmode, out double dminMinusMode, out double dmaxMinusMode)
    Parameters
    Type Name Description
    Gamma exp
    Gaussian d
    Double dmode
    Double dminMinusMode
    Double dmaxMinusMode
    In This Article
    Back to top Copyright © .NET Foundation. All rights reserved.