Search Results for

    Show / Hide Table of Contents

    Class GetItemsFromDeepJaggedPointOp<T>

    Provides outgoing messages for GetItemsFromDeepJagged<T>(IReadOnlyList<IReadOnlyList<IReadOnlyList<T>>>, IReadOnlyList<Int32>, IReadOnlyList<Int32>, IReadOnlyList<Int32>), given random arguments to the function.

    Inheritance
    Object
    GetItemsFromDeepJaggedPointOp<T>
    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(Collection), "GetItemsFromDeepJagged<>", new Type[]{}, Default = false)]
    [Quality(QualityBand.Experimental)]
    public static class GetItemsFromDeepJaggedPointOp<T>
    Type Parameters
    Name Description
    T

    The type of an item.

    Methods

    ItemsAverageConditional<DistributionArrayArrayType, DistributionArrayType, DistributionType>(IList<DistributionArrayArrayType>, IList<Int32>, IList<Int32>, IList<Int32>, Int32, DistributionType)

    EP message to items.

    Declaration
    public static DistributionType ItemsAverageConditional<DistributionArrayArrayType, DistributionArrayType, DistributionType>([SkipIfAllUniform] IList<DistributionArrayArrayType> array, IList<int> indices, IList<int> indices2, IList<int> indices3, int resultIndex, DistributionType result)
        where DistributionArrayArrayType : IList<DistributionArrayType> where DistributionArrayType : IList<DistributionType> where DistributionType : SettableTo<DistributionType>
    Parameters
    Type Name Description
    IList<DistributionArrayArrayType> array

    Incoming message from array. Must be a proper distribution. If all elements are uniform, the result will be uniform.

    IList<Int32> indices

    Incoming message from indices.

    IList<Int32> indices2

    Incoming message from indices2.

    IList<Int32> indices3

    Incoming message from indices3.

    Int32 resultIndex

    Index of the items for which a message is desired.

    DistributionType result

    Modified to contain the outgoing message.

    Returns
    Type Description
    DistributionType

    result

    Type Parameters
    Name Description
    DistributionArrayArrayType

    The type of a distribution over depth 1 array elements.

    DistributionArrayType

    The type of a distribution over depth 2 array elements.

    DistributionType

    The type of a distribution over depth 3 array elements.

    Remarks

    The outgoing message is a distribution matching the moments of items as the random arguments are varied. The formula is proj[p(items) sum_(array,indices,indices2,indices3) p(array,indices,indices2,indices3) factor(items,array,indices,indices2,indices3)]/p(items).

    Exceptions
    Type Condition
    ImproperMessageException

    array is not a proper distribution.

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