Search Results for

    Show / Hide Table of Contents

    Class IsPositiveOp_Proper

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

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

    Methods

    XAverageConditional(Bernoulli, Gaussian)

    EP message to x.

    Declaration
    public static Gaussian XAverageConditional(Bernoulli isPositive, Gaussian x)
    Parameters
    Type Name Description
    Bernoulli isPositive

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

    Gaussian x

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

    Returns
    Type Description
    Gaussian

    The outgoing EP message to the x argument.

    Remarks

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

    Exceptions
    Type Condition
    ImproperMessageException

    isPositive is not a proper distribution.

    ImproperMessageException

    x is not a proper distribution.

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