Class GetDeepJaggedItemsPointOp<T>
Provides outgoing messages for GetDeepJaggedItems<T>(IReadOnlyList<T>, IReadOnlyList<IReadOnlyList<IReadOnlyList<Int32>>>), given random arguments to the function.
Inherited Members
Namespace: Microsoft.ML.Probabilistic.Factors
Assembly: Microsoft.ML.Probabilistic.dll
Syntax
[FactorMethod(typeof(Collection), "GetDeepJaggedItems<>", new Type[]{}, Default = false)]
[Quality(QualityBand.Experimental)]
public static class GetDeepJaggedItemsPointOp<T>Type Parameters
| Name | Description | 
|---|---|
| T | The type of an item. | 
Methods
ItemsAverageConditional<ItemType, ItemType2, DistributionType>(IList<DistributionType>, IList<IList<IList<Int32>>>, Int32, ItemType)
EP message to items.
Declaration
public static ItemType ItemsAverageConditional<ItemType, ItemType2, DistributionType>([SkipIfAllUniform] IList<DistributionType> array, IList<IList<IList<int>>> indices, int resultIndex, ItemType result)
    where ItemType : IList<ItemType2> where ItemType2 : IList<DistributionType> where DistributionType : SettableTo<DistributionType>Parameters
| Type | Name | Description | 
|---|---|---|
| IList<DistributionType> | array | Incoming message from  | 
| IList<IList<IList<Int32>>> | indices | Incoming message from  | 
| Int32 | resultIndex | Index of the  | 
| ItemType | result | Modified to contain the outgoing message. | 
Returns
| Type | Description | 
|---|---|
| ItemType | 
 | 
Type Parameters
| Name | Description | 
|---|---|
| ItemType | The type of a sub-array. | 
| ItemType2 | The type of a sub-sub-array. | 
| DistributionType | The type of a distribution over 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) p(array,indices) factor(items,array,indices)]/p(items).
Exceptions
| Type | Condition | 
|---|---|
| ImproperMessageException | 
 |