Class SplitSubarrayOp<T>
Inheritance
SplitSubarrayOp<T>
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
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
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
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
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
Returns
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
Returns
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
Returns
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
Returns
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
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
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
Returns
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
Returns
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
Returns
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
Returns
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
Returns
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
Returns
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
Returns
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 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.
|