Search Results for

    Show / Hide Table of Contents

    Class GaussianProductOpBase

    Provides outgoing messages for the following factors:

    • Product(Double, Double)
    • Ratio(Double, Double)
    , given random arguments to the function.

    Inheritance
    Object
    GaussianProductOpBase
    GaussianProductOpEvidenceBase
    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
    public class GaussianProductOpBase

    Methods

    AAverageConditional(Gaussian, Double)

    EP message to a.

    Declaration
    public static Gaussian AAverageConditional(Gaussian Product, double B)
    Parameters
    Type Name Description
    Gaussian Product

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

    Double B

    Constant value for b.

    Returns
    Type Description
    Gaussian

    The outgoing EP message to the a argument.

    Remarks

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

    Exceptions
    Type Condition
    ImproperMessageException

    Product is not a proper distribution.

    AAverageConditional(TruncatedGaussian, Double)

    EP message to a.

    Declaration
    public static TruncatedGaussian AAverageConditional(TruncatedGaussian Product, double B)
    Parameters
    Type Name Description
    TruncatedGaussian Product

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

    Double B

    Constant value for b.

    Returns
    Type Description
    TruncatedGaussian

    The outgoing EP message to the a argument.

    Remarks

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

    Exceptions
    Type Condition
    ImproperMessageException

    Product is not a proper distribution.

    AAverageConditional(Double, Double)

    EP message to a.

    Declaration
    public static Gaussian AAverageConditional(double Product, double B)
    Parameters
    Type Name Description
    Double Product

    Constant value for product.

    Double B

    Constant value for b.

    Returns
    Type Description
    Gaussian

    The outgoing EP message to the a argument.

    Remarks

    The outgoing message is the factor viewed as a function of a conditioned on the given values.

    BAverageConditional(Gaussian, Double)

    EP message to b.

    Declaration
    public static Gaussian BAverageConditional(Gaussian Product, double A)
    Parameters
    Type Name Description
    Gaussian Product

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

    Double A

    Constant value for a.

    Returns
    Type Description
    Gaussian

    The outgoing EP message to the b argument.

    Remarks

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

    Exceptions
    Type Condition
    ImproperMessageException

    Product is not a proper distribution.

    BAverageConditional(TruncatedGaussian, Double)

    EP message to b.

    Declaration
    public static TruncatedGaussian BAverageConditional(TruncatedGaussian Product, double A)
    Parameters
    Type Name Description
    TruncatedGaussian Product

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

    Double A

    Constant value for a.

    Returns
    Type Description
    TruncatedGaussian

    The outgoing EP message to the b argument.

    Remarks

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

    Exceptions
    Type Condition
    ImproperMessageException

    Product is not a proper distribution.

    BAverageConditional(Double, Double)

    EP message to b.

    Declaration
    public static Gaussian BAverageConditional(double Product, double A)
    Parameters
    Type Name Description
    Double Product

    Constant value for product.

    Double A

    Constant value for a.

    Returns
    Type Description
    Gaussian

    The outgoing EP message to the b argument.

    Remarks

    The outgoing message is the factor viewed as a function of b conditioned on the given values.

    ProductAverageConditional(Gaussian, Double)

    EP message to product.

    Declaration
    public static Gaussian ProductAverageConditional(Gaussian A, double B)
    Parameters
    Type Name Description
    Gaussian A

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

    Double B

    Constant value for b.

    Returns
    Type Description
    Gaussian

    The outgoing EP message to the product argument.

    Remarks

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

    Exceptions
    Type Condition
    ImproperMessageException

    A is not a proper distribution.

    ProductAverageConditional(TruncatedGaussian, Double)

    EP message to product.

    Declaration
    public static TruncatedGaussian ProductAverageConditional(TruncatedGaussian A, double B)
    Parameters
    Type Name Description
    TruncatedGaussian A

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

    Double B

    Constant value for b.

    Returns
    Type Description
    TruncatedGaussian

    The outgoing EP message to the product argument.

    Remarks

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

    Exceptions
    Type Condition
    ImproperMessageException

    A is not a proper distribution.

    ProductAverageConditional(Double, Gaussian)

    EP message to product.

    Declaration
    public static Gaussian ProductAverageConditional(double A, Gaussian B)
    Parameters
    Type Name Description
    Double A

    Constant value for a.

    Gaussian B

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

    Returns
    Type Description
    Gaussian

    The outgoing EP message to the product argument.

    Remarks

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

    Exceptions
    Type Condition
    ImproperMessageException

    B is not a proper distribution.

    ProductAverageConditional(Double, TruncatedGaussian)

    EP message to product.

    Declaration
    public static TruncatedGaussian ProductAverageConditional(double A, TruncatedGaussian B)
    Parameters
    Type Name Description
    Double A

    Constant value for a.

    TruncatedGaussian B

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

    Returns
    Type Description
    TruncatedGaussian

    The outgoing EP message to the product argument.

    Remarks

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

    Exceptions
    Type Condition
    ImproperMessageException

    B is not a proper distribution.

    ProductAverageConditional(Double, Double)

    EP message to product.

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

    Constant value for a.

    Double b

    Constant value for b.

    Returns
    Type Description
    Gaussian

    The outgoing EP message to the product argument.

    Remarks

    The outgoing message is the factor viewed as a function of product conditioned on the given values.

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