Search Results for

    Show / Hide Table of Contents

    Class SplitSubarrayOp<T>

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

    Inheritance
    Object
    SplitSubarrayOp<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), "SplitSubarray<>", new Type[]{}, Default = true)]
    [Quality(QualityBand.Preview)]
    public static class SplitSubarrayOp<T>
    Type Parameters
    Name Description
    T

    The type of an array item.

    Methods

    ArrayAverageConditional<DistributionType, ArrayType>(IList<IList<Int32>>, IReadOnlyList<IReadOnlyList<T>>, ArrayType)

    Declaration
    public static ArrayType ArrayAverageConditional<DistributionType, ArrayType>(IList<IList<int>> indices, IReadOnlyList<IReadOnlyList<T>> items, ArrayType result)
        where DistributionType : HasPoint<T> where ArrayType : IList<DistributionType>, SettableToUniform
    Parameters
    Type Name Description
    IList<IList<Int32>> indices
    IReadOnlyList<IReadOnlyList<T>> items
    ArrayType result
    Returns
    Type Description
    ArrayType
    Type Parameters
    Name Description
    DistributionType

    The type of a distribution over array elements.

    ArrayType

    The type of the outgoing message.

    ArrayAverageConditional<DistributionType, ArrayType>(IReadOnlyList<IReadOnlyList<DistributionType>>, IList<IList<Int32>>, ArrayType)

    Declaration
    public static ArrayType ArrayAverageConditional<DistributionType, ArrayType>([SkipIfAllUniform] IReadOnlyList<IReadOnlyList<DistributionType>> items, IList<IList<int>> indices, ArrayType result)
        where DistributionType : SettableTo<DistributionType> where ArrayType : IList<DistributionType>, SettableToUniform
    Parameters
    Type Name Description
    IReadOnlyList<IReadOnlyList<DistributionType>> items
    IList<IList<Int32>> indices
    ArrayType result
    Returns
    Type Description
    ArrayType
    Type Parameters
    Name Description
    DistributionType

    The type of a distribution over array elements.

    ArrayType

    The type of the outgoing message.

    ArrayAverageLogarithm<DistributionType, ArrayType>(IList<IList<Int32>>, IReadOnlyList<IReadOnlyList<T>>, ArrayType)

    Declaration
    public static ArrayType ArrayAverageLogarithm<DistributionType, ArrayType>(IList<IList<int>> indices, IReadOnlyList<IReadOnlyList<T>> items, ArrayType result)
        where DistributionType : HasPoint<T> where ArrayType : IList<DistributionType>, SettableToUniform
    Parameters
    Type Name Description
    IList<IList<Int32>> indices
    IReadOnlyList<IReadOnlyList<T>> items
    ArrayType result
    Returns
    Type Description
    ArrayType
    Type Parameters
    Name Description
    DistributionType

    The type of a distribution over array elements.

    ArrayType

    The type of the outgoing message.

    ArrayAverageLogarithm<DistributionType, ArrayType>(IReadOnlyList<IReadOnlyList<DistributionType>>, IList<IList<Int32>>, ArrayType)

    Declaration
    public static ArrayType ArrayAverageLogarithm<DistributionType, ArrayType>([SkipIfAllUniform] IReadOnlyList<IReadOnlyList<DistributionType>> items, IList<IList<int>> indices, ArrayType result)
        where DistributionType : SettableTo<DistributionType> where ArrayType : IList<DistributionType>, SettableToUniform
    Parameters
    Type Name Description
    IReadOnlyList<IReadOnlyList<DistributionType>> items
    IList<IList<Int32>> indices
    ArrayType result
    Returns
    Type Description
    ArrayType
    Type Parameters
    Name Description
    DistributionType

    The type of a distribution over array elements.

    ArrayType

    The type of the outgoing message.

    AverageLogFactor(IReadOnlyList<IReadOnlyList<T>>, IReadOnlyList<T>, IList<IList<Int32>>)

    Declaration
    public static double AverageLogFactor(IReadOnlyList<IReadOnlyList<T>> items, IReadOnlyList<T> array, IList<IList<int>> indices)
    Parameters
    Type Name Description
    IReadOnlyList<IReadOnlyList<T>> items
    IReadOnlyList<T> array
    IList<IList<Int32>> indices
    Returns
    Type Description
    Double

    AverageLogFactor<DistributionType, ItemType>(IList<DistributionType>, IList<ItemType>, IList<IList<Int32>>)

    Declaration
    public static double AverageLogFactor<DistributionType, ItemType>(IList<DistributionType> array, IList<ItemType> items, IList<IList<int>> indices)
        where DistributionType : IDistribution<T>, CanGetLogProb<T> where ItemType : IList<T>
    Parameters
    Type Name Description
    IList<DistributionType> array
    IList<ItemType> items
    IList<IList<Int32>> indices
    Returns
    Type Description
    Double
    Type Parameters
    Name Description
    DistributionType

    The type of a distribution over array elements.

    ItemType

    The type of a sub-array.

    AverageLogFactor<DistributionType, ItemType>(IList<ItemType>, IList<DistributionType>, IList<IList<Int32>>)

    Declaration
    public static double AverageLogFactor<DistributionType, ItemType>(IList<ItemType> items, IList<DistributionType> array, IList<IList<int>> indices)
        where DistributionType : IDistribution<T>, SettableToProduct<DistributionType>, CanGetLogAverageOf<DistributionType> where ItemType : IList<DistributionType>
    Parameters
    Type Name Description
    IList<ItemType> items
    IList<DistributionType> array
    IList<IList<Int32>> indices
    Returns
    Type Description
    Double
    Type Parameters
    Name Description
    DistributionType

    The type of a distribution over array elements.

    ItemType

    The type of a sub-array.

    AverageLogFactor<DistributionType, ItemType>(IList<ItemType>, IList<T>, IList<IList<Int32>>)

    Declaration
    public static double AverageLogFactor<DistributionType, ItemType>(IList<ItemType> items, IList<T> array, IList<IList<int>> indices)
        where DistributionType : CanGetLogProb<T> where ItemType : IList<DistributionType>
    Parameters
    Type Name Description
    IList<ItemType> items
    IList<T> array
    IList<IList<Int32>> indices
    Returns
    Type Description
    Double
    Type Parameters
    Name Description
    DistributionType

    The type of a distribution over array elements.

    ItemType

    The type of a sub-array.

    ItemsAverageConditional<DistributionType, ItemType>(IReadOnlyList<DistributionType>, IList<IList<Int32>>, Int32, ItemType)

    Declaration
    public static ItemType ItemsAverageConditional<DistributionType, ItemType>([SkipIfAllUniform] IReadOnlyList<DistributionType> array, IList<IList<int>> indices, int resultIndex, ItemType result)
        where DistributionType : SettableTo<DistributionType> where ItemType : IList<DistributionType>
    Parameters
    Type Name Description
    IReadOnlyList<DistributionType> array
    IList<IList<Int32>> indices
    Int32 resultIndex
    ItemType result
    Returns
    Type Description
    ItemType
    Type Parameters
    Name Description
    DistributionType

    The type of a distribution over array elements.

    ItemType

    The type of a sub-array.

    ItemsAverageLogarithm<DistributionType, ItemType, ResultType>(IList<DistributionType>, IList<IList<Int32>>, ResultType)

    Declaration
    public static ResultType ItemsAverageLogarithm<DistributionType, ItemType, ResultType>([SkipIfAllUniform] IList<DistributionType> array, IList<IList<int>> indices, ResultType result)
        where DistributionType : SettableTo<DistributionType> where ItemType : IList<DistributionType> where ResultType : IList<ItemType>
    Parameters
    Type Name Description
    IList<DistributionType> array
    IList<IList<Int32>> indices
    ResultType result
    Returns
    Type Description
    ResultType
    Type Parameters
    Name Description
    DistributionType

    The type of a distribution over array elements.

    ItemType

    The type of a sub-array.

    ResultType

    The type of the outgoing message.

    LogAverageFactor(IReadOnlyList<IReadOnlyList<T>>, IReadOnlyList<T>, IList<IList<Int32>>)

    Declaration
    public static double LogAverageFactor(IReadOnlyList<IReadOnlyList<T>> items, IReadOnlyList<T> array, IList<IList<int>> indices)
    Parameters
    Type Name Description
    IReadOnlyList<IReadOnlyList<T>> items
    IReadOnlyList<T> array
    IList<IList<Int32>> indices
    Returns
    Type Description
    Double

    LogAverageFactor<DistributionType>(IList<DistributionType>, IReadOnlyList<IReadOnlyList<T>>, IList<IList<Int32>>)

    Declaration
    public static double LogAverageFactor<DistributionType>(IList<DistributionType> array, IReadOnlyList<IReadOnlyList<T>> items, IList<IList<int>> indices)
        where DistributionType : IDistribution<T>, CanGetLogProb<T>
    Parameters
    Type Name Description
    IList<DistributionType> array
    IReadOnlyList<IReadOnlyList<T>> items
    IList<IList<Int32>> indices
    Returns
    Type Description
    Double
    Type Parameters
    Name Description
    DistributionType

    The type of a distribution over array elements.

    LogAverageFactor<DistributionType>(IReadOnlyList<IReadOnlyList<DistributionType>>, IList<DistributionType>, IList<IList<Int32>>)

    Declaration
    public static double LogAverageFactor<DistributionType>(IReadOnlyList<IReadOnlyList<DistributionType>> items, IList<DistributionType> array, IList<IList<int>> indices)
        where DistributionType : IDistribution<T>, CanGetLogAverageOf<DistributionType>
    Parameters
    Type Name Description
    IReadOnlyList<IReadOnlyList<DistributionType>> items
    IList<DistributionType> array
    IList<IList<Int32>> indices
    Returns
    Type Description
    Double
    Type Parameters
    Name Description
    DistributionType

    The type of a distribution over array elements.

    LogAverageFactor<DistributionType>(IReadOnlyList<IReadOnlyList<DistributionType>>, IReadOnlyList<T>, IList<IList<Int32>>)

    Declaration
    public static double LogAverageFactor<DistributionType>(IReadOnlyList<IReadOnlyList<DistributionType>> items, IReadOnlyList<T> array, IList<IList<int>> indices)
        where DistributionType : CanGetLogProb<T>
    Parameters
    Type Name Description
    IReadOnlyList<IReadOnlyList<DistributionType>> items
    IReadOnlyList<T> array
    IList<IList<Int32>> indices
    Returns
    Type Description
    Double
    Type Parameters
    Name Description
    DistributionType

    The type of a distribution over array elements.

    LogEvidenceRatio(IReadOnlyList<IReadOnlyList<T>>, IReadOnlyList<T>, IList<IList<Int32>>)

    Declaration
    public static double LogEvidenceRatio(IReadOnlyList<IReadOnlyList<T>> items, IReadOnlyList<T> array, IList<IList<int>> indices)
    Parameters
    Type Name Description
    IReadOnlyList<IReadOnlyList<T>> items
    IReadOnlyList<T> array
    IList<IList<Int32>> indices
    Returns
    Type Description
    Double

    LogEvidenceRatio<DistributionType>(IList<DistributionType>, IReadOnlyList<IReadOnlyList<T>>, IList<IList<Int32>>)

    Declaration
    public static double LogEvidenceRatio<DistributionType>(IList<DistributionType> array, IReadOnlyList<IReadOnlyList<T>> items, IList<IList<int>> indices)
        where DistributionType : IDistribution<T>, CanGetLogProb<T>
    Parameters
    Type Name Description
    IList<DistributionType> array
    IReadOnlyList<IReadOnlyList<T>> items
    IList<IList<Int32>> indices
    Returns
    Type Description
    Double
    Type Parameters
    Name Description
    DistributionType

    The type of a distribution over array elements.

    LogEvidenceRatio<DistributionType, ItemType>(IList<ItemType>, IList<T>, IList<IList<Int32>>)

    Declaration
    public static double LogEvidenceRatio<DistributionType, ItemType>(IList<ItemType> items, IList<T> array, IList<IList<int>> indices)
        where DistributionType : CanGetLogProb<T> where ItemType : IList<DistributionType>
    Parameters
    Type Name Description
    IList<ItemType> items
    IList<T> array
    IList<IList<Int32>> indices
    Returns
    Type Description
    Double
    Type Parameters
    Name Description
    DistributionType

    The type of a distribution over array elements.

    ItemType

    The type of a sub-array.

    LogEvidenceRatio<DistributionType, ItemArrayType, ItemType>(ItemArrayType, IList<DistributionType>, IList<IList<Int32>>, ItemArrayType)

    Declaration
    public static double LogEvidenceRatio<DistributionType, ItemArrayType, ItemType>(ItemArrayType items, IList<DistributionType> array, IList<IList<int>> indices, ItemArrayType to_items)
        where DistributionType : SettableToUniform, SettableToProduct<DistributionType>, CanGetLogAverageOf<DistributionType>, ICloneable where ItemArrayType : IList<ItemType> where ItemType : IList<DistributionType>
    Parameters
    Type Name Description
    ItemArrayType items
    IList<DistributionType> array
    IList<IList<Int32>> indices
    ItemArrayType to_items
    Returns
    Type Description
    Double
    Type Parameters
    Name Description
    DistributionType

    The type of a distribution over array elements.

    ItemArrayType

    The type of an incoming message from items.

    ItemType

    The type of a sub-array.

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