Interface ICollectionDistribution
Interface to allow untyped access to collection distribution
Inherited Members
Namespace: Microsoft.ML.Probabilistic.Distributions
Assembly: Microsoft.ML.Probabilistic.dll
Syntax
public interface ICollectionDistribution : IDistribution, ICloneable, Diffable, SettableToUniform
Methods
GetElementsCount()
Returns the count of known elements in collection distribution.
Declaration
int GetElementsCount()
Returns
Type | Description |
---|---|
Int32 |
GetElementsUntyped()
Returns the list of elements' distributions.
Declaration
List<IDistribution> GetElementsUntyped()
Returns
Type | Description |
---|---|
List<IDistribution> |
SetToProduct(ICollectionDistribution, ICollectionDistribution, out CollectionElementMappingInfo)
Product of two collection distributions which also return element mapping information.
Declaration
void SetToProduct(ICollectionDistribution a, ICollectionDistribution b, out CollectionElementMappingInfo elementMapping)
Parameters
Type | Name | Description |
---|---|---|
ICollectionDistribution | a | Collection distribution |
ICollectionDistribution | b | Collection distribution |
CollectionElementMappingInfo | elementMapping | Element mapping information |