Class GetItemsBufferOp2<T>
Inheritance
GetItemsBufferOp2<T>
Assembly: Microsoft.ML.Probabilistic.dll
Syntax
[Buffers(new string[]{"marginal"})]
[Quality(QualityBand.Mature)]
public static class GetItemsBufferOp2<T>
Type Parameters
Methods
ItemsAverageConditional<ArrayType, DistributionType>(IReadOnlyList<DistributionType>, IReadOnlyList<DistributionType>, ArrayType, IReadOnlyList<Int32>, Int32, DistributionType)
Declaration
public static DistributionType ItemsAverageConditional<ArrayType, DistributionType>(IReadOnlyList<DistributionType> items, IReadOnlyList<DistributionType> array, [SkipIfAllUniform] ArrayType marginal, IReadOnlyList<int> indices, int resultIndex, DistributionType result)
where ArrayType : IList<DistributionType> where DistributionType : SettableToProduct<DistributionType>, SettableToRatio<DistributionType>
Parameters
Returns
Type |
Description |
DistributionType |
|
Type Parameters
Name |
Description |
ArrayType |
|
DistributionType |
|
Marginal<ArrayType, DistributionType>(ArrayType, DistributionType, DistributionType, IReadOnlyList<Int32>, Int32)
Declaration
public static ArrayType Marginal<ArrayType, DistributionType>(ArrayType marginal, DistributionType to_item, DistributionType item, IReadOnlyList<int> indices, int resultIndex)
where ArrayType : IList<DistributionType>, SettableTo<ArrayType> where DistributionType : SettableToProduct<DistributionType>
Parameters
Type |
Name |
Description |
ArrayType |
marginal |
|
DistributionType |
to_item |
|
DistributionType |
item |
|
IReadOnlyList<Int32> |
indices |
|
Int32 |
resultIndex |
|
Returns
Type |
Description |
ArrayType |
|
Type Parameters
Name |
Description |
ArrayType |
|
DistributionType |
|
MarginalInit<ArrayType, DistributionType>(ArrayType, IReadOnlyList<DistributionType>, IReadOnlyList<Int32>)
Declaration
public static ArrayType MarginalInit<ArrayType, DistributionType>(ArrayType array, IReadOnlyList<DistributionType> items, IReadOnlyList<int> indices)
where ArrayType : IList<DistributionType>, SettableTo<ArrayType>, ICloneable where DistributionType : SettableToProduct<DistributionType>
Parameters
Returns
Type |
Description |
ArrayType |
|
Type Parameters
Name |
Description |
ArrayType |
|
DistributionType |
|