Search Results for

    Show / Hide Table of Contents

    Class IndexOfMaximumOp_Fast

    Provides outgoing messages for IndexOfMaximumDouble(IList<Double>), given random arguments to the function.

    Inheritance
    Object
    IndexOfMaximumOp_Fast
    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(MMath), "IndexOfMaximumDouble", new Type[]{}, Default = false)]
    [Quality(QualityBand.Experimental)]
    public static class IndexOfMaximumOp_Fast

    Methods

    IndexOfMaximumDoubleAverageConditional(IList<Gaussian>, Discrete)

    EP message to indexOfMaximumDouble.

    Declaration
    public static Discrete IndexOfMaximumDoubleAverageConditional(IList<Gaussian> list, Discrete result)
    Parameters
    Type Name Description
    IList<Gaussian> list

    Incoming message from list. Must be a proper distribution. If any element is uniform, the result will be uniform.

    Discrete result

    Modified to contain the outgoing message.

    Returns
    Type Description
    Discrete

    result

    Remarks

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

    Exceptions
    Type Condition
    ImproperMessageException

    list is not a proper distribution.

    IndexOfMaximumDoubleAverageConditional2(IList<Gaussian>, Discrete)

    EP message to indexOfMaximumDouble.

    Declaration
    public static Discrete IndexOfMaximumDoubleAverageConditional2(IList<Gaussian> list, Discrete result)
    Parameters
    Type Name Description
    IList<Gaussian> list

    Incoming message from list. Must be a proper distribution. If any element is uniform, the result will be uniform.

    Discrete result

    Modified to contain the outgoing message.

    Returns
    Type Description
    Discrete

    result

    Remarks

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

    Exceptions
    Type Condition
    ImproperMessageException

    list is not a proper distribution.

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